Skip to main content

Bug Tracker

Side navigation

#1849 closed enhancement (invalid)

Opened October 26, 2007 08:17PM UTC

Closed January 18, 2009 04:14AM UTC

Last modified March 15, 2012 12:51AM UTC

Ajax functions problems with caching in IE

Reported by: timothyfarrar@sosens 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

timothyfarrar@sosensible.com

Attachments (0)
Change History (4)

Changed December 03, 2007 07:02PM UTC by emartin24 comment:1

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?

Changed January 18, 2009 04:14AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

Just use cache : false in the options.

Changed November 17, 2010 03:54PM UTC by Romain comment:3

The cash option from jQuery does NOT work with I.E.

Changed December 16, 2010 07:36PM UTC by anonymous comment:4

"cache: false" seems to cause issues when using windows gadgets and IE8 is installed. It's as if the request fails to complete.