Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

ignore specified query parameters when using defaultCacheStrategy #98

Open
liabru opened this issue May 4, 2016 · 0 comments
Open

ignore specified query parameters when using defaultCacheStrategy #98

liabru opened this issue May 4, 2016 · 0 comments

Comments

@liabru
Copy link

liabru commented May 4, 2016

Description

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

@liabru liabru changed the title ignore query strings when using defaultCacheStrategy ignore specified query strings when using defaultCacheStrategy May 4, 2016
@liabru liabru changed the title ignore specified query strings when using defaultCacheStrategy ignore specified query parameters when using defaultCacheStrategy May 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant