On 08/11/2010, at 22:01, Yanik Proulx wrote:

> All my images are stored in a /media directory.
> 
> I created a Directory rule for /media where I enabled Gzip, Default
> and set expiration to 1970 (because a lot of images are user
> uploaded).
> 
> One example is a user profile picture. After a user updates their
> picture, I often see the old one for several minutes. If I look at the
> headers, I can see the browser resquest "If-Modified-Since: Mon, 08
> Nov 2010 20:44:28 GMT", and I see the response "Expires: Tue, 01 Jan
> 1970 00:00:01 GMT", but the server still returns a 304 code (not
> modified).
> 
> Is there something I'm doing wrong?

Go to the handler section of the /images directory rule and disable ‘I/O 
cache’. That will stop Cherokee from trying to cache your static content.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to