[REFACTOR] 미사용 서비스워커 클린업 로직 제거 - #284
Conversation
- 도메인 이전 이후 불필요해진 구버전 서비스워커/캐시 정리 로직을 제거했습니다 - 루트 레이아웃에서 관련 import 및 사용 코드를 제거했습니다
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 33 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Timo Performance ReportBundle Size — timo-web
Lighthouse — timo-web
Image Optimization — timo-web
측정 커밋: |
ISSUE 🔗
close #283
What is this PR? 🔍
도메인 이전 이후 더 이상 필요 없는 구버전 서비스워커/캐시 정리 로직을 제거했습니다.
배경
ServiceWorkerCleanup컴포넌트가 현재 origin의 서비스워커/캐시를 전부 unregister/delete하고 있었습니다.serviceWorker.getRegistrations()와caches.keys()를 호출하는 코드가 계속 남아 있었습니다.ServiceWorkerCleanup컴포넌트와 루트 레이아웃에서의 사용 코드를 제거했습니다.서비스워커 클린업
apps/timo-web/providers/service-worker/ServiceWorkerCleanup.tsx파일을 삭제하고,app/[locale]/layout.tsx에서 해당 컴포넌트의 import와 렌더링 코드를 제거했습니다.To Reviewers
기능 동작에 영향을 주지 않는 순수 삭제(remove) 변경입니다.
ServiceWorkerCleanup을 참조하는 다른 코드가 없는지 확인 부탁드립니다.Screenshot 📷
Test Checklist ✔
pnpm check-types통과pnpm lint통과pnpm build통과