I have apache 2.2.11 installed on my server and I have been trying to decrease the load time of my website pages based on the advice from the yslow firefox plugin.
I have configured gzip and etag and some of its other suggestions fine but I have noticed in the header for my css files etag is being appended with the text gzip.
Does anyone know why and how to get round this?
Header from my server Date Sun, 07 Jun 2009 10:40:57 GMT Server Apache/2.2.11 (Fedora) Last-Modified Sun, 31 May 2009 15:06:38 GMT Etag "3b4-46b36a802bb80"-gzip Accept-Ranges bytes Cache-Control max-age=2592000 Expires Tue, 07 Jul 2009 10:40:57 GMT Vary Accept-Encoding Content-Encoding gzip Content-Length 530 Connection close Content-Type text/css
The same code on my hosted package uses an older version of apache and doesn't have the same problem. Could this just be an apache bug?
Header from my hosting package Date Sun, 07 Jun 2009 10:48:26 GMT Server Apache/2.0.63 (FreeBSD) mod_python/3.3.1 Python/2.5.1 PHP/5.2.6 with Suhosin-Patch mod_fastcgi/2.4.6 mod_ssl/2.0.63 OpenSSL/0.9.7e-p1 DAV/2 mod_perl/2.0.4 Perl/v5.8.8 Last-Modified Sat, 21 Feb 2009 13:54:52 GMT Etag "3b4-1d104300" Accept-Ranges bytes Cache-Control max-age=2592000 Expires Tue, 07 Jul 2009 10:48:26 GMT Vary Accept-Encoding Content-Encoding gzip Content-Length 530 Connection close Content-Type text/css
"
symbol. SoETag: "foo"
is good (and valid) butETag: "foo"-gzip
is not. A correctly formatted gzip suffix would beETag: "foo-gzip"
– mogsie Feb 6 '14 at 23:19