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