On Fri, 2005-07-01 at 09:10, Geoffrey Young wrote: > Slava Bizyayev wrote: > > On Thu, 2005-06-30 at 22:52, David Christensen wrote: > > > >>1. Make a mod_perl call that tells the browser not to cache the > >> upcoming document. (Does such a call exist?) > > > > > > Take a look at Expires HTTP header. See rfc2616 for additional details. > > $r->no_cache(1) is probably simpler :)
agree (assuming that the implementation is sufficient and universal).. > > > > > >>2. Make a mod_perl call that tells the browser that the upcoming > >> document is newer than the last one requested (I might be able to > >> implement this idea using time(), update_mtime(), and > >> set_last_modified(), but it seems like a crude hack). > > > > > > Sounds like an unnecessary hack. > > say the current image in msie has a newer mtime on disk than the image > you're about to redirect to. But initially there is no locally cached content. All you need to do at this point -- is to make sure that there were no caching proxies on your way. So, Vary * makes it simple. ;-) Thanks, Slava
