Refreshing

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

Refreshing

Postby murphy79 » Wed 09 Nov, 2005 7:55 am

IE (for windows) stores temporary internet files, so you don't have to download the entire content every time. This means that I have to delete temporary internet files to view the latest updates in iframes. I know that I can prevent this by changing the setting in IE localy.
I would like to be sure that freqent users always gets the latest updates.

Can I force the browser to update the entire content?

(sorry about my english)
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215; .NET CLR 1.0.3705)
User avatar
murphy79
junior member
junior member
 
Posts: 16
Joined: Mon 11 Jul, 2005 5:12 pm
Location: Oslo, Norway

Re: Refreshing

Postby Antony » Wed 09 Nov, 2005 8:20 am

murphy79 wrote:Can I force the browser to update the entire content?
You can try to set the content expire date. (No guarantee that all browsers would follow this.)

Try adding following coded between [tt]<head>[/tt] and [tt]</head>[/tt]
Code: Select all
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">

If that does not work, try changing [tt]<META Http-Equiv="Expires" Content="0">[/tt]
to [tt]<META Http-Equiv="Expires" Content="-1">[/tt]
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/416.11 (KHTML, like Gecko) Safari/416.12
User avatar
Antony
diamond member
diamond member
 
Posts: 14510
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

thanks

Postby murphy79 » Wed 09 Nov, 2005 8:28 am

Did not realize it was that easy.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215; .NET CLR 1.0.3705)
User avatar
murphy79
junior member
junior member
 
Posts: 16
Joined: Mon 11 Jul, 2005 5:12 pm
Location: Oslo, Norway


Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]