Nice... That's beautiful.. If you use ColdFusion....
<CFSET getPageContext().getOut().clearBuffer()><CFSETTING ENABLECFOUTPUTONLY="YES"> <cfheader name="expires" value="#now()#"> <cfheader name="pragma" value="no-cache"> <cfheader name="cache-control" value="no-cache, no-store, must-revalidate"> <CFOUTPUT>#JSON.Serialize(Response)#</CFOUTPUT> Thanks for the recommendations... Jimmy G ---------------------------------------- From: Charles Capps <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2007 11:52 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: IE Caching AJAX calls When in doubt, whack'em all. Pragma: no-cache Cache-control: no-cache, must-revalidate Expires: (some date in the past in the proper format) Jimmy Glass wrote: > Hi Jeff, > That is what I was thinking... But, I'm not sure of the key/value pair > to add to the response. Do you know? > > Jimmy G > > > > > ------------------------------------------------------------------------ > *From*: "Jeffrey Kretz" > *Sent*: Thursday, May 17, 2007 11:19 AM > *To*: jquery-en@googlegroups.com > *Subject*: [jQuery] Re: IE Caching AJAX calls > > > 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" 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 > > > >