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

Strip jQuery's cache-busting parameter #496

Merged
merged 1 commit into from
Mar 2, 2015
Merged

Strip jQuery's cache-busting parameter #496

merged 1 commit into from
Mar 2, 2015

Conversation

mislav
Copy link
Collaborator

@mislav mislav commented Mar 2, 2015

If jQuery cache: false ajax parameter is set, the &_=<TIMESTAMP> param will have been appended to the request URL. Because this URL will eventually be used to replace the page URL, we need to ensure that we're stripping the cache-busting parameter before that, like we do with the "_pjax" internal parameter as well.

Fixes #490

If jQuery `cache: false` ajax parameter is set, the `&_=<TIMESTAMP>`
param will have been appended to the request URL. Because this URL will
eventually be used to replace the page URL, we need to ensure that we're
stripping the cache-busting parameter before that, like we do with the
"_pjax" internal parameter as well.
mislav added a commit that referenced this pull request Mar 2, 2015
Strip jQuery's cache-busting parameter
@mislav mislav merged commit 9970438 into master Mar 2, 2015
@mislav mislav deleted the strip-params branch March 2, 2015 23:07
@mislav mislav mentioned this pull request Mar 3, 2015
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.

Cache in Internet Explorer
1 participant