JM4
JM4

Reputation: 6788

Is there anyway to tell if gzip is in fact compressing specific files?

I know I have gzip running on my server and site. Most everything is taken care of but when I run firebug or google pagespeed, I am told that certain CSS files (hosted by me) are not being gzipped and could be greatly compressed.

Any thoughts are appreciated.

Update

I was asked about my server: MediaTemple DV 3.5 running CentOS 5 with PHP 5.3.2 and Apache 2.2.15

Upvotes: 4

Views: 1768

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038810

FireBug is great for this purpose. Simply navigate to your site and in the Net tab inspect the Response headers for all requests. For example here's a properly gzipped CSS (on StackOverflow of course):

enter image description here

You could also install the YSlow plugin and it will tell you exactly which static resources could be compressed in order to reduce bandwidth.

Upvotes: 6

Related Questions