You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
When using default-cache-strategy with a cache-config-file with an array of precache paths, it seems that these do not get matched if there is a query string on the request. This is makes sense but I'd like to be able to specify certain query strings to be ignored when matching, e.g. utm_-prefixed parameters or version strings.
I experimented and read the docs but I couldn't find any mention of this (my apologies if this already exists), could you please advise?
(related: it seems the sw-precache project has this feature)
Expected outcome
Specified query strings should be ignored when matching default cache strategy.
Actual outcome
Query strings cause cached paths not to match.
Live Demo
N/A
Steps to reproduce
See description.
Browsers Affected
All
The text was updated successfully, but these errors were encountered:
liabru
changed the title
ignore query strings when using defaultCacheStrategy
ignore specified query strings when using defaultCacheStrategy
May 4, 2016
liabru
changed the title
ignore specified query strings when using defaultCacheStrategy
ignore specified query parameters when using defaultCacheStrategy
May 4, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When using
default-cache-strategy
with acache-config-file
with an array ofprecache
paths, it seems that these do not get matched if there is a query string on the request. This is makes sense but I'd like to be able to specify certain query strings to be ignored when matching, e.g. utm_-prefixed parameters or version strings.I experimented and read the docs but I couldn't find any mention of this (my apologies if this already exists), could you please advise?
(related: it seems the sw-precache project has this feature)
Expected outcome
Specified query strings should be ignored when matching default cache strategy.
Actual outcome
Query strings cause cached paths not to match.
Live Demo
N/A
Steps to reproduce
See description.
Browsers Affected
All
The text was updated successfully, but these errors were encountered: