If you can control the server-side pages that are supplying your ajax requests, you can also add response headers to the http response telling the browser to not to cache it.
JK -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Sent: Thursday, May 17, 2007 11:07 AM To: jQuery (English) Subject: [jQuery] Re: IE Caching AJAX calls One trick I found was to simply do: $.get (myUrl + '?uid=' + math.random(), myAjaxCallBack) On May 17, 5:49 pm, "Jimmy Glass" <[EMAIL PROTECTED]> wrote: > Hi... > So... I just noticed that IE is caching my AJAX requests (I code to Firefox, and then test IE later). I expect some of you have run into this problem before. > > Of course, I can create unique request string by appending a "Request Identifer" to each URL. I found this great UUID javascript that works nicely. > > However, It is a pain to have to do this to every request. Is the something in JQuery that addresses this? Are there any other solutions, like changing header values in a request /response that I am over looking? > > Any thoughts would be greatly appreciated.... > > Sincerely, > Jimmy G