FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Force Reloading of web pages

 


jimbronie
I saw that a similiar issue was posed about a css, but is there a line of code or a way to force a browser to re-download a web page that was updated?

I ask this, because I have home page space that I use for my daughter's softball team. Unfortunately I built the site in "FreeWay" (a mac drag and drop website builder). On occasion I change the pictures, however unless I hit the refresh button on my browser it will still only bring up the cached web page. The parents that frequent this site are not the most internet saavy and asking them to hit the refresh button could cause me (as the website administrator) more problems than it is worth and would be beneficial for all involved if there was a way to indicate that the particular page has changed.

Any help appreciated!
Jim
[FuN]goku
do you mean like..... refresh a page every X number of seconds or ??
adhoc
Just put the following between the <head> and </head>

<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">

-- http://www.pacificnet.net/~johnr/meta.html

That is what you're supposed to do. It might or might not work; your visitors' browsers' caching isn't something you can control much. Chances are, you are the only person having that problem. When you update the page, make sure the new pictures have different filenames - the browser might update the page but keep the pictures cached, if that's your problem.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.