Bug Tracker

Ticket #1849 (new enhancement)

Opened 1 year ago

Last modified 10 months ago

Ajax functions problems with caching in IE

Reported by: timothyfarrar@… Assigned to: anonymous
Type: enhancement Priority: minor
Milestone: 1.2.2 Component: ajax
Version: 1.2.1 Keywords:
Cc: Needs: Review

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

Change History

Changed 10 months ago by emartin24

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?

Note: See TracTickets for help on using tickets.