|
|
Q1168 How can I set the cache expiration date on an HTML file to, say, midnight of the day the page is first served?
irt.org | Knowledge Base | JavaScript | Misc | Q1168 [ previous next ] Q1168 How can I set the cache expiration date on an HTML file to, say, midnight of the day the page is first served?Not possible. The expiration is set in the _http_ header and not the _HTML_ header. The browser is passed the expiration date and time - and it is upto the browser to do what it likes with this information. It cannot be done on the client side - as the browser (by now) has decided what it's going to do with the document. |
-- div -->
|