When the browser requests a page, it can demand an uncached copy by
sending these headers:

Pragma: no-cache
Cache-Control: no-cache

For example, if you hit ctrl+F5 to refresh a page in Firefox, these
headers will be sent in the Request. This tells the server to return
an uncached page.

My problem is, the jQuery $.ajax() call is passing these headers every
time. I can't force it to exclude the headers. As a result, the web
service returns a cached copy.
Is it possible to change these headers in the $.ajax() call?

The example you listed below is using a different jQuery method, load
(), to retrieve the content. It's not sending the headers, which is
good. But I think I need to use the $.ajax() method.


> You can see the behavior of your own browser here:
>
>        http://www.corry.biz/iecache/

Reply via email to