Topic awaiting preservation: Force Cache Drop |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
posted 05-22-2005 13:11
Is there a way to force no-cache explicitly with javascript (not using meta tags)? I'm having trouble with xml objects staying around too long and not refreshing, especially when I make changes on the server-side, they are not always reflected to the client right away. |
Paranoid (IV) Inmate From: France |
posted 05-22-2005 20:35 |
Bipolar (III) Inmate From: Phoenix |
posted 05-22-2005 20:54
I use the xmlhttp request to retrieve my xml source from an asp page which returns xml. I also use the xmlhttp request to retrieve my stylesheet, but i point explicitly at the stylesheet (I guess I could point at an asp page to return the stylesheet and then I might have control of the caching this way - is this your idea?). |
Paranoid (IV) Inmate From: France |
posted 05-22-2005 21:00 |
Bipolar (III) Inmate From: Phoenix |
posted 05-22-2005 22:39
So far (in the past) the best way I have seen to *trick* the browser into not caching is by throwing a random querystring val in get. Do you have any other suggestions? |
Paranoid (IV) Inmate From: France |
posted 05-22-2005 22:49 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 05-23-2005 01:37 |
Bipolar (III) Inmate From: Phoenix |
posted 05-23-2005 03:08
The only ~grumble~ I have with this solution, is that it clutters up the logs a bit.. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 05-23-2005 10:54
|