로딩 속도를 위해 @Cacheable 적용 #50

Merged
klaus merged 9 commits from test into main 2023-10-17 09:31:09 +00:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 1fcb0ec5fd - Show all commits

View File

@ -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(