The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Static html
I've got some static html pages that are updated via a perl script, thing is most browsers refuse to check for new copies unless you refresh the page. I've tested this on all major browsers (except safari[I've tested ie5 ie6 opera firefox and konqueor])
So is there anything I can do to make it so the actual page is up to date when someone views it? |
#2
|
|||
|
|||
<a href="http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv" target="_blank">http://www.w3.org/TR/html4/struct/gl...def-http-equiv</a>
Have a look at the Expires example. |
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
I guess the perl script can also generate the header, and it should be aware of what time it is when it is running.
|
#5
|
||||
|
||||
So tell it to put in the current time or what?
|
#6
|
|||
|
|||
The header line can already be put in the generated file i guess.
|
#7
|
||||
|
||||
Well that was easy After poking Zachery he said that the forumhome in vB uses a nocache in the meta tags.
So I copied it and it works perfect HTML Code:
<meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> |
#8
|
|||
|
|||
I hope those quote entities aren't in the script to begin with...they should be literal quotes.
|
#9
|
||||
|
||||
nah i think that was my copy and paste job
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|