#1849 closed enhancement (invalid)
Ajax functions problems with caching in IE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 1.2.2 |
Component: | ajax | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Here is an idea for a feature I think should be included in jQuery. When I do an AJAX request in IE, I am having problems with IE caching that request. I fixed this by passing a no-Cache variable, and passing a new date with each request. It would be great if jQuery had this as an optional feature with their ajax requests, so you could specify if you wanted jQuery to send a noCache variable with a request. This would be alot easier for the end developer who could enable/disable this as an argument either way based on whichever was set as the default.
Please consider, and contact me with any thoughts and or questions.
Thankyou,
Timothy Farrar
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Just use cache : false in the options.
comment:4 Changed 12 years ago by
"cache: false" seems to cause issues when using windows gadgets and IE8 is installed. It's as if the request fails to complete.
Timothy,
The $.ajax function has a cache option: http://docs.jquery.com/Ajax/jQuery.ajax#options
When building your ajax call, just add cache: false to the options.
Is that what you are looking for?