PDA

View Full Version : Remove need to refresh simple static html website



renzokuken
May 20th, 2008, 12:21 PM
Hi,

I have a very simple static site (completely HTML) for speed and ease that i update on a regular basis.

My question is though, when i make changes or add content, can i get the changes to appear for users without them having to refresh the page. Often people load up the site and it loads from their temp internet files instead of from the server and so they still see the page as it was last time they visited, and not the updated content.

Is there something i can do on the server/code side to make sure they get the latest html instead of loading from their Temp files?

thanks

jespdj
May 20th, 2008, 12:32 PM
Have a look at this: So, You Don't Want To Cache, Huh? (http://www.htmlgoodies.com/beyond/reference/article.php/3472881) (it's a bit old, but still relevant).