PDA

View Full Version : Page Compression, mod_gzip



jorge
02-08-2007, 07:50 AM
Hi, I am having problems compressing my web pages. I am using joomla 1.0.12 and I had enabled gzip option.

I have talked with the people in support and they told me mod_gzip is enabled. When I go to this page: http://whatsmyip.org/mod_gzip_test/ it tells me that it is enabled and my 15K page is now a 4K page.

Anyway, I used this other pages to see if it is working and the result is that my pages are not 4K, are 15K. So it is not compressed:

http://www.websiteoptimization.com/services/analyze/
http://web-sniffer.net/

Furthermore, when I check the page info in firefox 2.0.0.1, it show a 15K page that is not compressed.

Please help me: What can I do to compress my web pages?

felgall
02-08-2007, 11:27 AM
The page has to be decompressed by the browser in order to display it. Are you sure you are checking the size on the server and not that of the cached copy that the browser has already decompressed?

jorge
02-08-2007, 12:21 PM
Hello, thank you for your reply.

I looked at Tools>page info in the browser because it worked for a page like www.yahoo.com that has a compressed size of 26.73K and 101.5K uncompressed. My browser showed 26.73K, which is correct, so I used the same method with my page, but it showed 15K instead of 4K

I checked the response headers too: For www.yahoo.com, it showed me this option: Content-Encoding: gzip, but for my page it doesn't.

The response headers of my page shows this information of the server:
Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b

It doesn't show the mod_gzip