Topic awaiting preservation: Prevent caching of an SSI page (Page 1 of 1) |
|
---|---|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-05-2002 06:47
OK, I've got this html page calling a script via SSI, and IE is caching the page, so it only calls the script if I reload (but not if i just enter the address again and hit enter). |
Paranoid (IV) Inmate From: Lebanon |
posted 06-05-2002 08:30
try that: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-05-2002 08:44
Thanks! I'll give this a shot. How reliable and cross-browser is it? (Will all browsers take its advice?) |
Bipolar (III) Inmate From: |
posted 06-05-2002 08:50
<metta http-equiv="pragma" content="no-cache"> |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-05-2002 21:42
Well, the script is called with SSI, so all IE gets is a page that it thinks is static; I could put a random number in there with SSI, but the server would be the only one to see it. |
Bipolar (III) Inmate From: |
posted 06-07-2002 11:34
whoops there is that, isn't there... |