Prev: Buy Differin Online Without a Prescription. Differin bulletin boards,using Differin with benzoyl peroxide,buy Differin without a prescription,Differin acne,Differin gel results
Next: /Job/ need: Javascript developer in San Francisco downtown,
From: FAQ server on 6 May 2010 19:00 ----------------------------------------------------------------------- FAQ Topic - Why is my Ajax page not updated properly when using an HTTP GET request in Internet Explorer? ----------------------------------------------------------------------- Browsers cache the results of HTTP requests to reduces network traffic. To force the browser to request the document from the server, either set the ` EXPIRES ` and/or ` CACHE-CONTROL ` response header(s) with a past date or use a unique query string. req.open("GET", "/example.jsp?date=" + (+new Date), true); Always use the appropriate HTTP method. Do not use ` POST ` to prevent caching. See http://www.faqs.org/rfcs/rfc2616.html http://www.mnot.net/cache_docs/#EXPIRES http://www.mnot.net/javascript/xmlhttprequest/cache.html The complete comp.lang.javascript FAQ is at http://jibbering.com/faq/ -- The sendings of these daily posts are proficiently hosted by http://www.pair.com.
From: RobG on 7 May 2010 03:46 On May 7, 9:00 am, "FAQ server" <javascr...(a)dotinternet.be> wrote: > ----------------------------------------------------------------------- > FAQ Topic - Why is my Ajax page not updated properly when > using an HTTP GET request in Internet Explorer? > ----------------------------------------------------------------------- > > Browsers cache the results of HTTP requests to reduces network traffic. The word "reduces" should be "reduce". -- Rob
From: Garrett Smith on 7 May 2010 03:59
RobG wrote: > On May 7, 9:00 am, "FAQ server" <javascr...(a)dotinternet.be> wrote: >> ----------------------------------------------------------------------- >> FAQ Topic - Why is my Ajax page not updated properly when >> using an HTTP GET request in Internet Explorer? >> ----------------------------------------------------------------------- >> >> Browsers cache the results of HTTP requests to reduces network traffic. > > The word "reduces" should be "reduce". Fixed, thanks. -- Garrett comp.lang.javascript FAQ: http://jibbering.com/faq/ |