Skip to content

iOS6 cache-control #1037

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

Closed
wants to merge 1 commit into from
Closed

iOS6 cache-control #1037

wants to merge 1 commit into from

Conversation

3rd-Eden
Copy link
Contributor

Added cache-control headers to each GET and POST request to instruct the browser to NOT cache these requests.

See for the related information:
http://stackoverflow.com/questions/12506897/is-ios6-safari-caching-ajax-results

In addition to that I removed some pointless semicolons and added missing semicolons.

@rauchg
Copy link
Contributor

rauchg commented Sep 21, 2012

We timestamp XHRs. Might be worth adding a comment that we need it for both IE and iOS6 (sigh)
https://github.com/LearnBoost/socket.io-client/blob/master/lib/transports/xhr.js#L152

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.

2 participants