[Rabbit-dev] why does this image not get compressed?

Robert Olofsson robert.olofsson at khelekore.org
Wed Sep 14 13:24:58 CEST 2011


> hello Robo,
>
> Check out the following url.

If you do a HEAD '<the url>' and check the header you will find:
Cache-Control: private, max-age=86400

This means that rabbit is not allowed to cache the image and rabbit will
only recompress images that it can cache.

The shorter url is cacheable since it has a different header:
Cache-Control: public, max-age=86400

It would be possible to rework rabbit so that it does not use the cache
for image conversion, but that is nothing I currently have planned for.

/robo




More information about the Rabbit-dev mailing list