Control of cache time via script in the CSS

  • Thread starter Thread starter jnm
  • Start date Start date
J

jnm

Is it possible in some way or another to put some code in the style sheet,
which will the storage time in the browser cache to may be 24 hours. This
would be a very useful feature when one is in the process of creating a new
Intranet web, which every body may comment and get changed during the
creation. It is a common problem, that the user don't refresh page and thus
comment on an outdated version.

Regards

Jorgen
 
No, you would have place the code for no cache, etc. on the actual page(s) or you can set the server
to not allow caching.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Hi jnm,

To stop the page from caching use the meta tag:

<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
 
It looks like I have to accept facts.

However the idea of controlling the no cache through the server set up is
worth wile pursuing.

Jorgen
 
Back
Top