generated from nhcarrigan/template
a0f6362c1b
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.