Forum Moderators: open

Message Too Old, No Replies

how to ensure visitors view latest updated pages?

         

yongsi

4:44 pm on May 17, 2002 (gmt 0)



hell-o. i need some help.
when i upload edited pages, the changes do not show up when i visit the page.
i got to click on refresh again to have the update show.
is there a way to ensure that visitors to the site will get to see the latest updated pages? if i don't remember wrongly, there is a code that can be added into the site or something... any solutions? thanks in advance ;)

pcguru333

4:55 pm on May 17, 2002 (gmt 0)

10+ Year Member



Use the meta tag with reshresh attrib. It will force the page to refresh

Ex:
<meta http-equiv="refresh"
content=n />
where n equals a time ex: content="30"
Downside is that the page will continually reload at the interval specified

rogerd

5:16 pm on May 17, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Yongsi, this problem is most likely to occur when you are maintaining a site. Set your browser to always load the page, never use the cached version.

Normal visitors will typically be arriving for the first time, or the first time in a while, and should get the new page even if their browser is set differently. I'd avoid a meta refresh unless your site has some unusual usage patterns that demand it. Unexpected page refreshes are VERY annoying to users.

PsychoTekk

5:31 pm on May 17, 2002 (gmt 0)

10+ Year Member



or you could use this
<meta http-equiv="Cache-Control" content="no-cache">
to prevent your pages from being cached - i don't know the
percental number of browsers (and ISP-intern cacheservers)
that override this setting though

yongsi

1:42 am on May 18, 2002 (gmt 0)



thanks so much! ;)