discourse/app/helpers
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
..
application_helper.rb FEATURE: Normalize the service worker route (#8359) 2019-11-20 11:33:41 -08:00
common_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_helper.rb FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
embed_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji_helper.rb FIX: ensures emoji helper is working with custom emojis (#7843) 2019-07-03 09:23:40 +02:00
list_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topics_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_notifications_helper.rb FIX: email excerpts for posts starting with a quote were displaying a username 2019-11-19 12:35:23 -05:00