-
Notifications
You must be signed in to change notification settings - Fork 388
url hashes count as cache misses #290
Comments
Update: I tested in Chrome and it works fine with hashes, so the behavior seems to be Firefox only. I did some debugging and I think I've found the root of the problem. This may be a bug in Firefox, Chrome, or just an ambiguity in the spec, but in any case it would be an easy fix to work around it in the service worker code. |
Thanks for pointing this out—it's due to w3c/ServiceWorker#854. That new behavior shipped in Firefox 52, and will ship in the upcoming Chrome 59 beta as well. I'll take care of adjusting the |
Thank you! Will you publish a bugfix version immediately, or will I have to install directly from git until the next release comes out? |
I don't anticipate much of a delay in releasing this as |
Like the title says.
example.com
works, butexample.com#chapter2
counts as a cache miss and the page fails to load.Is this a bug, or the intended behavior. If it's intended, can we add a configuration option to strip hashes? It could be done inside the
stripIgnoredUrlParameters
function.The text was updated successfully, but these errors were encountered: