Jeff Wong 9799a651b6
FEATURE: Normalize the service worker route (#8359)
* FEATURE: Normalize the service worker route

Update cache headers so they are not immutable outside of the rails app

Add the ability to purge the service worker cache from localhost

Rails -> nginx will pass immutable flags so the file is cached until reloaded.
In most cases, nginx will have its cache flushed on rebuild (new image)

For those needing dynamic re-caching (such as upgrading via the UI),
a rake task for flushing the service worker script is provided
through `assets:flush_sw`
2019-11-20 11:33:41 -08:00
..
2019-10-21 12:08:20 +01:00
2019-05-22 17:39:44 +03:00
2019-10-17 13:38:31 -03:00
2019-10-21 12:08:20 +01:00
2019-11-06 12:31:03 -05:00
2019-10-21 12:08:20 +01:00