로딩 속도를 위해 @Cacheable 적용 #50
|
@ -390,7 +390,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
|
||||
@Cacheable(
|
||||
value = ["getAudioContentCurations"],
|
||||
key = "#isAdult",
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun getAudioContentCurations(isAdult: Boolean): List<AudioContentCuration> {
|
||||
|
@ -446,7 +445,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
|
||||
@Cacheable(
|
||||
value = ["weekLivedCache"],
|
||||
key = "#startDate" + '_' + "#isAdult" + '_' + "#offset" + '_' + "#limit",
|
||||
cacheManager = "cacheManager"
|
||||
)
|
||||
override fun getAudioContentRanking(
|
||||
|
|
Loading…
Reference in New Issue