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

Cache in Internet Explorer #490

Closed
ricardopolo opened this issue Feb 19, 2015 · 6 comments · Fixed by #496
Closed

Cache in Internet Explorer #490

ricardopolo opened this issue Feb 19, 2015 · 6 comments · Fixed by #496

Comments

@ricardopolo
Copy link

I have a webpage using ajax. The page contains a form that edits a text field.

When using Internet Explorer for save a new value in the form, the next time I see visit the form it shows the old value due the browser cache.

So I put this line the website in JS of the webpage
$.ajaxSetup({ cache: false });

Now in IE it works. No values are cached.

But in Chrome I see a new ID in all urls.
capture

Any idea?

@ricardopolo
Copy link
Author

@defunkt any idea about this ID in URL of Chrome?

@ricardopolo
Copy link
Author

@mislav I Understand this PR (#489) removes the URL Do we need still to set cache: false for IE?

@ricardopolo
Copy link
Author

@mislav would you bump the new bower release?

@mislav
Copy link
Collaborator

mislav commented Mar 3, 2015

You referenced the wrong PR, but this one #496 fixes your problem.

You can fetch the latest jquery.pjax.js version directly from master. Otherwise, you'll have to wait for me to make a new release and publish to Bower. It might be a day or two.

@mislav
Copy link
Collaborator

mislav commented Mar 3, 2015

And thanks for reporting this issue! I wasn't aware that the _ param could appear in URLs.

@ricardopolo
Copy link
Author

@mislav thanks for fixing it. I just tested the latest version from master and now we dont have the strange URL id. We stil need cache false for correct IE working.

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 a pull request may close this issue.

2 participants