Avoid refresh F5

They have: 3 posts

Joined: Oct 2007

I run a website with local news, which gets updated every month...however, most visitors to the website get to see pages that were stored on their computers, and don't see the latest webpages (unless they press F5)

- How can I make sure that any visitor gets to see the latest webpage, without having to press F5?

Busy's picture

He has: 6,151 posts

Joined: May 2001

How are your pages displayed - database or plain HTML? and how are they named; ie 2007-10-03.html, or latest.html, or index.php?show=new ...

They have: 3 posts

Joined: Oct 2007

Busy;224857 wrote: How are your pages displayed - database or plain HTML? and how are they named; ie 2007-10-03.html, or latest.html, or index.php?show=new ...

Thanks! HTML - you can see the website at franschhoektatler.co.za
Looks like I've found an answer on http://www.htmlgoodies.com/beyond/reference/article.php/3472881

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

This article might help you out -> http://lab.artlung.com/anti-cache/

PopeCuervoLime's picture

He has: 34 posts

Joined: Oct 2006

jaMMM;224855 wrote: I run a website with local news, which gets updated every month...however, most visitors to the website get to see pages that were stored on their computers, and don't see the latest webpages (unless they press F5)

- How can I make sure that any visitor gets to see the latest webpage, without having to press F5?

I don't know about the rest of you but a webpage that refreshes itself while I'm reading it greatly annoys me. I know it's for the sake of providing up to the minute coverage, but I am well aware (and I assume most news sites readers) that the news changes but it will change at our discretion, not the site's.

I prefer F5'ing if I want the latest content; that way its a user preference on how interactive they want a news site to be.

But that's just me.

They have: 3 posts

Joined: Oct 2007

webpages are html - you can see the website at franschhoektatler.co.za

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.