Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append cache-busting parameter to prefetched URLs #10

Open
jeffposnick opened this issue Sep 14, 2015 · 1 comment
Open

Append cache-busting parameter to prefetched URLs #10

jeffposnick opened this issue Sep 14, 2015 · 1 comment

Comments

@jeffposnick
Copy link

Since the SW uses a cache-first strategy that will never check for updates to resources outside of the install handler, it's crucial that the HTTP request made during the install handler goes directly against the network, and doesn't return a response from the browser's cache. In order to ensure this, a cache-busting URL parameter can be added to each URL.

This is something that sw-precache takes care of automatically.

@jeffposnick
Copy link
Author

See also GoogleChrome/samples#209 where I'm making a similar update.

jeffposnick referenced this issue in petele/PWA-GettingStarted Jan 20, 2016
PaulKinlan added a commit that referenced this issue Mar 8, 2017
ignoreSearch so that I don't have to think about the static assets and url strings as much in the install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant