What happens when I update my HTML?

If I update my web page, upload it, and try to browse it, my browser first loads the page from its temporary files, so I see the OLD page.  I must press REFRESH to see the NEW content.  

No problem for me, but what about others who don't know to press REFRESH?  How can I force a refresh on the users' machines if the page has changed?

Thanks.
LVL 4
wkhaysAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tmagaCommented:
The only reason you have to push "Refresh" is because your browser looks first to the its cache folder on your local hard drive rather than downloading the page again (it's just faster).

Now, someone who visits your site doesn't have any version of your page in their browser's cache folder, so the browser must download the entire page from the server (where you placed your updated files).  This is only true for people who have never (or not for awhile at least), visited your site.

If they are a frequent visitor, then you might want to create a Javascript which determines when they last visited and if the page has changed (ready made Javascripts are available at: http://www.geocities.com/~jsmaster/

I hope this helps.
Trevor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wkhaysAuthor Commented:
Thanks for the Java script links - that's what I needed.

-Keith
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.