Files
library/apps/frontend
hikari a0f6362c1b fix: prevent service worker from caching external resources
The service worker was causing issues by trying to cache external resources:
- CDN images (cdn.nhcarrigan.com)
- Analytics scripts
- External fonts
- Ad scripts

This violated CSP policies and caused 429 rate limit errors.

Fixes:
- Only cache same-origin images
- Only cache same-origin static assets (JS/CSS/fonts)
- External resources bypass the service worker entirely
- Added origin checks before caching
- Added response.ok checks before caching

This prevents CSP violations and eliminates the freezing/429 errors.
2026-02-20 01:04:15 -08:00
..
2026-02-03 10:09:37 -08:00
2026-02-03 10:09:37 -08:00
2026-02-03 10:09:37 -08:00