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

Use req.path to allow for cache busting headers #11

Merged
merged 1 commit into from
Jun 17, 2017

Conversation

dcousineau
Copy link
Contributor

This updates any lookups to use req.path to allow for static asset requests that involve a cache-busting timestamp query.

For example, /static/styles.css?a1b2c3 will now lookup /static/styles.css and preserve the ?a1b2c3 query when being converted into a compressed request.

This updates any lookups to use `req.path` to allow for static asset requests that involve a cache-busting timestamp query.

For example, `/static/styles.css?a1b2c3` will now lookup `/static/styles.css` and preserve the `?a1b2c3` query when being converted into a compressed request.
@tkoenig89 tkoenig89 merged commit d764608 into tkoenig89:master Jun 17, 2017
@tkoenig89
Copy link
Owner

Thanks for the PR.
I already updated npm, so you can switch to the latest version (0.2.3), which contains your PR changes.

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

Successfully merging this pull request may close these issues.

None yet

2 participants