mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-03-15 04:53:18 +08:00
- Simplified fetch event logic in sw.js to only process same-origin GET requests, improving clarity and performance. - Consolidated caching strategies for documents and static resources, ensuring a more efficient response handling. - Removed the unused cacheFirstCrossOrigin function to streamline the service worker code.