Re: headers: setting right for browser to force reload at a certain point in time
| From: | German Geek | Date: | Mon, 23 Feb 2009 10:17:42 +0000 |
| Subject: | Re: headers: setting right for browser to force reload at a certain point in time | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288667@lists.php.net to get a copy of this message | ||
Yes, that's what i thought, but with my FF 3.0 the resources (swf,png,jpg)
don't get reloaded. I have to reload the page (after deleting cache).
Something to do with the Apache configuration?
??
Thanks for the reply.
Tim-Hinnerk Heuer
http://www.ihostnz.com
Laurence J. Peter - "If two wrongs don't make a right, try three."
2009/2/23 Per Jessen <per@computer.org>
> 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)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>