PDA

View Full Version : HTML gods, click here...


Lush
05-01-2001, 03:39 AM
Is there HTML code that will automatically refresh the page so that cache won't pull up an un-updated page?

I need people to have the page refreshed right when they click or else some people will see the same page as before.

Could a genius post the code for me?

toker
05-01-2001, 04:59 AM
<meta http-equiv="Refresh" content="1; URL=http://yoursite">
<meta http-equiv="pragma" content="no-cache">

kodek
05-01-2001, 09:23 AM
The first one will refresh your page again and again in a loop. Am I right?

<meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
This can help, I think.

Pinhead
05-01-2001, 10:51 AM
These are the required lines of code (all three for cross-browser coverage):

<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">