English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there a way in HTML, Javascript or something like that to make sure that every time a web page is visited, it checks for a newer version? I know this can be set in the Browser's properties, but not everybody knows to do that. I have a site that has info that changes often, but if I were to go to it and load the page again it just grabs it from cache and doesn't update...if I refresh the page, it does get a new version. Is there a way to do this automatically?

2007-02-02 03:16:43 · 2 answers · asked by Yoi_55 7 in Computers & Internet Programming & Design

2 answers

YES...

Click on TOOLS then INTERNET OPTIONS then TEMPORARY INTERNET FILE SETTINGS then tick which option you want, either automatic or every time a page is visited...

Hope this helps,
Mega

2007-02-02 04:06:04 · answer #1 · answered by megastiff 3 · 5 2

funny you should ask! I just wrote such a page,,, it does all the checking inside the page without ever hitting refresh!

the method is AJAX, and the code less than 5 lines for the hard stuff!

I use http://jquery.com and async access to other pages is quite easy!

2007-02-02 14:16:04 · answer #2 · answered by jake cigar™ is retired 7 · 0 1

fedest.com, questions and answers