Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-11 Thread Jergen Dutch
On Dec 7, 2007 2:29 PM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > ExpiresByType image/jpeg "modification plus 120 seconds" This will expire images which have not changed. I will stiick with etags. Thanks. - The offici

Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-07 Thread Jergen Dutch
On Dec 7, 2007 11:25 AM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Sorry for being crude, but why don't you just read the manual (mod_expires) ?? > > ExpiresByType image/jpeg "modification plus 1 day" Because this is doing something different to what I want. Your suggestion would expire

Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-07 Thread Jergen Dutch
On Dec 7, 2007 11:01 AM, C.F-Win in China F <[EMAIL PROTECTED]> wrote: > ExpiresByType image/jpeg "access plus 1 day" > Thanks for this, but I don't want to expire the cache based on access, I want to expire the cache based on mtime. etags should handle this, but it seems not too..

[EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-07 Thread Jergen Dutch
Hi list, I have an application that loads a lot of images off a server every 60 seconds. I want the client's browser to cache the images because they almost never change. In the rare cases where an image does change, I would like to invalidate the client's cached copy of the image. I could do th