Antwort: AW: Antwort: [Mod_gzip] Q: DECLINED:HAS_CE

mod_gzip@lists.over.net mod_gzip@lists.over.net
Wed, 16 Apr 2003 10:01:10 +0200


Hi Rolf,


> ok, one is left :) i receive a 304 status for images
> in the html-header, which means that these files are
> not compressed - but tomorrow i google again :))

these images are not only "not compressed", they
are not even served by the server.
HTTP status 304 is "hello client, you are entitled
to continue using your cache content for this file".
Therefore the server doesn't send any content - and
mod_gzip can find nothing to compress.

If you want to reduce your HTTP 304 responses (and
you should do so, IMHO) then consider sending cache
expiration periods (using mod_expires).
Browsers that are configured correctly would then
not even ask your server whether they can use their
cache content, as long as the expiration period lasts.
Images whose content changes infrequently may well
be sent with expiration periods of several weeks ...
but remember to either disable this setting before
you change the images' content or simply don't do it
(i. e. use different URLs for different content then).

Remember: There is no better compression for a re-
sponse than making it unnecessary for the client to
ask for it. ;-)

Viele Grüße
      Michael