Skip to content

perf: [TA-269] 지역 정적 데이터가 매 마운트마다 재조회 - #148

Merged
seorinn merged 1 commit into
developfrom
TA-269-region-cache
Jun 30, 2026
Merged

seorinn merged 1 commit into
developfrom
TA-269-region-cache

Conversation

@seorinn

@seorinn seorinn commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

변경 사항

  • api/region.ts의 getRegionList/getRegionCluster에 모듈 레벨 프로미스 캐시 적용
  • 동시 호출은 1회 요청으로 합치고, 실패 시 캐시를 비워 재시도 허용

배경

사실상 정적인 지역 목록을 지역 선택 바/프로필 편집 진입마다 재호출(캐시 없음). 컴포넌트 호출부는 변경 없이 API 레이어에서만 캐시.

검증

  • tsc·전체 테스트 통과. 첫 호출만 네트워크, 이후 메모리 반환

Closes TA-269

@vercel

vercel Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
damaba Ready Ready Preview, Comment Jun 30, 2026 4:43am

@seorinn
seorinn marked this pull request as ready for review June 30, 2026 04:45
@seorinn
seorinn merged commit 40eb556 into develop Jun 30, 2026
3 checks passed
@seorinn
seorinn deleted the TA-269-region-cache branch June 30, 2026 04:45

This branch was successfully deployed

1 active deployment
Preview — d4acac03 Deployed Jun 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant