Closed angus-c closed 6 years ago
We want browser to default to downloading sw.js each time
Edit: looks life default has changed so SW is no cache by default. Will manually add ctx.set('Cache-Control', 'max-age=0') in case any non-compliant implementations still out there.
ctx.set('Cache-Control', 'max-age=0')
Fixed by https://github.com/fusionjs/fusion-plugin-service-worker/pull/22
We want browser to default to downloading sw.js each time
Edit: looks life default has changed so SW is no cache by default. Will manually add
ctx.set('Cache-Control', 'max-age=0')
in case any non-compliant implementations still out there.