Forum Moderators: mack

Message Too Old, No Replies

Refreshing page

getting new content seen

         

gardener

9:39 am on Jul 7, 2004 (gmt 0)

10+ Year Member



We regularly update our home page. How do I make sure that the latest content is being seen by users who have the old version in their browser cache? Is there some kind of refresh tag? How do news sites do it?

Mr_Brutal

11:56 am on Jul 7, 2004 (gmt 0)

10+ Year Member



Hi gardener,

Try a google search for "no cache". This approach will prevent users from viewing any cached version they have.

Becareful not to just use the NO CACHE META tag though cos it has problems apparently.

HTH

sidyadav

12:00 pm on Jul 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



gardener, try putting the following within your <head> tag:
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

But makes sure you've got a lot of bandwidth to spare! ;)

Sid

gardener

12:39 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



I did the google search and found a second tag as well.

Here's what I added to the top of the page between the header tags, and again at the bottom of the page between header tags (after the body closing tag):

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

Does that sound right?

Mr_Brutal

12:49 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



Looks good to me garderner just be aware that are some bugs but otherwise that should do the job!

The MS site:

[support.microsoft.com...]

says that you can also stick the tag at the end of the file to be sure :-)

gardener

1:45 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



Many thanks!