Hi-
Compression can be enabled/disabled on a file extension basis through sub nodes
of /server/cache/compression
However it rather looks as if your Web server is somehow misconfigured, maybe
it is set to compress files on the fly?
HTH,
-markus
(Martin Kofoed) wrote:
Hi,
I'm having a strange problem: Every time a page is loaded from cache,
the Content-Encoding parameter is set to "gzip, gzip". This is not a
problem for IE, but Firefox goes ahead and shows binary gzipped content.
Any ideas? Can gzipping be disabled for cached content? I'd rather not
disable caching completely for obvious reasons ...
Here are the two different response headers for the same page:
==== From cache:
Date: Tue, 10 Jan 2006 20:07:29 GMT
Server: Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.6.101mdk)
mod_perl/1.99_16 Perl/v5.8.5 mod_jk/1.2.10 mod_ssl/2.0.50 OpenSSL/0.9.7d
PHP/4.3.8
Content-Encoding: gzip, gzip
Last-Modified: Tue, 10 Jan 2006 13:17:14 GMT
Content-Length: 875
Content-Type: text/html;charset=UTF-8
200 OK
==== After forced reloading:
Date: Tue, 10 Jan 2006 20:11:13 GMT
Server: Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.6.101mdk)
mod_perl/1.99_16 Perl/v5.8.5 mod_jk/1.2.10 mod_ssl/2.0.50 OpenSSL/0.9.7d
PHP/4.3.8
Last-Modified: Tue, 10 Jan 2006 13:17:14 GMT
Content-Encoding: gzip
Content-Length: 875
Content-Type: text/html;charset=UTF-8
200 OK
==== Platform
Platform: Linux
Java: Sun 1.4.2
Magnolia: 2.1.3
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------