Click to See Complete Forum and Search --> : viewing latest content of a web page


mikebgreen
06-19-2005, 07:14 PM
Hi there I want my visitors to my web page to be viewing the latest information on that page. The information could be updated every couple of days or so.

I have seen code such as <meta http-equiv="refresh" content="3"> but all that does is constantly refresh the page which doesnt seem right. I know this method is used mainly for redirecting you to another page but it was suggested as a way to allow people to view latest info on your web page as well.

Is there another simple way.

Thanks.

Mike

Stephen Philbin
06-19-2005, 08:22 PM
Errrr. They see the latest version when they visit it. You don't need to do anything to let people see it.

ray326
06-19-2005, 10:29 PM
You can try to disable their caching by putting these in the head section of your page.

<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="EXPIRES" content="Mon, 22 Jul 2002 11:12:01 GMT">

mikebgreen
06-20-2005, 01:44 AM
So by disabling their cache anything on this particular page wont be stored in their temporary folder? Is that how it works?

The pages I am trying to sort out have dates on them for people to attend. I just want to make sure 100% that they arent seeing any old dates and they only see the latest ones.

Am I being over cautious as the list could be updated at its most frequent once a day?

dera
06-20-2005, 04:42 AM
yes it will stop them but the site will get slower for them and your bandwidth will go up, and some search engines may stop cache'n your site. which isn't a good thing, almost all modern browsers do this with out users having to refresh with clearing their cache, you can also send the last modified header..

mikebgreen
06-20-2005, 05:29 AM
There would only be two pages in the whole site that would contain this code. They are to be seen by band members only (gigs and info etc) so the speed shouldnt be a problem and I would want a search engine to ignore these two single pages anyway.

Do you think it would be best to include the meta tags above or just leave it as is and leave it to the individual browsers?