fusionjs / fusion-plugin-service-worker

Migrated to https://github.com/fusionjs/fusionjs
MIT License
6 stars 8 forks source link

Make sw.js no-cache #26

Closed angus-c closed 6 years ago

angus-c commented 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.

angus-c commented 6 years ago

Fixed by https://github.com/fusionjs/fusion-plugin-service-worker/pull/22