Skip to content

Conversation

@chaiminwoo0223
Copy link
Contributor

@chaiminwoo0223 chaiminwoo0223 commented Nov 22, 2025

📌 작업 내용 및 특이사항

✅ Redis 캐싱 적용

  • CacheNameConstants, CacheKeyFactoryTRIP_REPORTS, TRIP_REPORT를 추가하여 캐시 키 관리 체계화
  • RedisCacheConfigTRIP_REPORT, TRIP_REPORTS TTL 전략 추가
  • TripReportFacade 조회 메서드에 @Cacheable 및 등록, 삭제, 이미지 검증/확정 메서드에 @CacheEvict 적용

✅ CacheKeyFactory에 세그먼트 추가

  • trips 캐시 키 구조에 'trips' 세그먼트 추가하여 의미 명확화
  • stamps 캐시 키 구조에 'stamps' 세그먼트 추가하여 의미 명확화
  • missions 캐시 키 구조에 'missions' 세그먼트 추가하여 의미 명확화
  • studyLogs 캐시 키 구조에 'studyLogs' 세그먼트 추가하여 의미 명확화

🌱 관련 이슈


🔍 참고사항(선택)


📚 기타(선택)

* refactor: CacheNameConstants, CacheKeyFactory에 TRIP_REPORTS, TRIP_REPORT를 추가하여 캐시 키 관리 체계화
* refactor: RedisCacheConfig에 TRIP_REPORTS, TRIP_REPORT TTL 전략 추가
* refactor: TripReportFacade 조회 메서드에 @Cacheable 및 등록, 삭제 메서드에 @CacheEvict 적용
* refactor: TripReportFacade 이미지 검증/확정 메서드에 @CacheEvict 적용

* refactor: trips 캐시 키 구조에 'trips' 세그먼트 추가하여 의미 명확화
* refactor: stamps 캐시 키 구조에 'stamps' 세그먼트 추가하여 의미 명확화
* refactor: missions 캐시 키 구조에 'missions' 세그먼트 추가하여 의미 명확화
* refactor: studyLogs 캐시 키 구조에 'studyLogs' 세그먼트 추가하여 의미 명확화
@chaiminwoo0223 chaiminwoo0223 self-assigned this Nov 22, 2025
@chaiminwoo0223 chaiminwoo0223 added the 🪄refactor 기능 개선 및 리팩토링 label Nov 22, 2025
Copy link
Contributor

@hisonghy hisonghy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

세그먼트를 추가해서 이해하는데 더 명확해진것 같아요
고생하셨습니다!
병합부탁드려요~

@chaiminwoo0223 chaiminwoo0223 merged commit 3de9eae into develop Nov 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪄refactor 기능 개선 및 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🪄[REFACTOR]: 여행 리포트 기능에 Redis 캐싱 적용

3 participants