Skip to content

Conversation

fflewddur
Copy link

Some older web browsers (e.g., IE 8) incorrectly cache Ajax responses. This patch changes the .get() call to .ajax(), which allows us to pass a parameter to disable caching the response. A new option, cacheAjaxResults, has been added to IAS. It defaults to 'true' to mimic the current behavior (browsers use their own logic to figure out whether the response should be fetched from cache or from the server), but can be set to 'false' to force browsers to always fetch URLs from the server. This patch allows IE 8 to work with IAS.

Defaulting 'cacheAjaxResults' to false might be a good idea, but I didn't want to change the default behavior for users to want the caching and don't care about IE 8 support.

@fflewddur fflewddur mentioned this pull request Jan 19, 2015
@fieg
Copy link
Member

fieg commented Jan 20, 2015

Thank you for your contribution. I will take a closer look soon!

@fieg
Copy link
Member

fieg commented Mar 14, 2018

Superseded by #306. It allows to set cache (and more options) in a more convenient way.

@fieg fieg closed this Mar 14, 2018
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