Re: headers: setting right for browser to force reload at a certain point in time

From: Date: Mon, 23 Feb 2009 09:58:13 +0000
Subject: Re: headers: setting right for browser to force reload at a certain point in time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-288666@lists.php.net to get a copy of this message
German Geek wrote: > Hi All, > > We have an application that generates dynamic ebooks. One of the > (minor) problems (but yet annoying) is that when a user comes back to > an ebook, they have to actually delete the cache and reload the page > to not get the cached version which might be wrong because the content > or even the flash application is updated. Deleting the cache should not be necessary, a reload should be enough. (it certainly is with Firefox). > It would be neat if we could force a reload of the page, but only with > a special condition like the ebook being updated or the swf. The swf > and also the other resources are not reloaded though, because it is a > get request. The request type has nothing to do with it - the browser will do a conditional GET if the local copy is expired. Just set the right expiry time on your files when you serve them, then they will automatically be checked by the browser. /Per -- Per Jessen, Zürich (2.8°C)

« previous php.general (#288666) next »