Web design: refresh page on every view.

adsl3g

Expert Member
Joined
Aug 1, 2005
Messages
3,392
Reaction score
3
Location
Pretoria
I am running a small community website and using Frontpage (I know, don't tell me!!!) The problem I have is that once I update the page it is not picked up by the browser and needs about 3 refreshes before the new page is displayed. I understand there is a way to force the browser to refresh the page and not pull it from the cache. Can anyone help with that. Thanks
 
Put this in your headers
HTML:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Expires" content="Tue,01 Dec 1990 06:30:00 GMT">
 
If the site is generally just static then don't put those meta tags in...

It is annoying ;)
It depends on what the content is - broadband users wont get hit that hard by a refresh.

Speaking from experience it is almost impossible to effectively maintain a website without them thanks to the overzealous caching.
 
Wasn't there another meta command like cache = -1 or history = -1 or something??

Been a while since I designed a page :p
 
If the site is generally just static then don't put those meta tags in...

It is annoying ;)


There are 3 pages that are updated weekly and its mostly text with some clipart. Some of the content is drawn from a another site daily via a script command but that does not pose a problem.
Its just irritating that one cannot see the updates when visiting the page after a week. Also, a large majority of users do not know about Cntrl refresh - maybe I should put that on the page. I will use the command on the most changed pages only and see how it goes.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X