Skip to content

Instantly share code, notes, and snippets.

@Verdi
Created November 11, 2018 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Verdi/a0bbd07cd458535e0e319a40071c1d7d to your computer and use it in GitHub Desktop.
Save Verdi/a0bbd07cd458535e0e319a40071c1d7d to your computer and use it in GitHub Desktop.
.htaccess to apply new serviceworker right away
<IfModule mod_expires.c>
<FilesMatch "serviceworker.js">
ExpiresDefault "access plus 0 seconds"
</FilesMatch>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment