Anyone got Safari on Mac to stop re-downloading serviceWorker js files at every reload?
I'm sending these headers: 'Cache-Control': 'public, max-age=31536000, immutable' And registering like: await navigator .serviceWorker.register('/serviceWorker.js' , { type: 'module' , updateViaCache: "all" }) But ever
📄
This source provides headlines only. Use the button below to read the complete article on the original site.
📰 Read the original article on r/webdev
Originally published by r/webdev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.