views:

169

answers:

5

I plan to configure weblogic's gzip servlet filter (using weblogicx-gzip.jar) to gzip my web pages.

How can I verify that the pages are being sent to the client gzipped?

A: 

yslow will tell you. At least it will tell you when they are not zipped.

Jens Schauder
+2  A: 
  1. Install FireBug for Firefox.
  2. Enable FireBug.
  3. Enable the Net tab.
  4. Load your webpage.
  5. Expand the line that contains your webpage.
  6. If Content-Encoding is gzip you received the page in GZip format.
Ztyx
I don't see "Content-Encoding". I see "Transfer-Encoding". Is that the one I should look at?
BestPractices
never mind, once i successfully configured gzip, the content-encoding: gzip now shows up
BestPractices
A: 

that site offer online tool to check

http://www.port80software.com/products/httpzip/

luca
A: 

Not sure if you're looking for a automatic way. But the Firebug and/or PageSpeed extensions for Firefox will tell which files are being gzipped.

For Firebug, in the "Net" panel, if you look at the files headers there should be a "Content-Encoding: gzip" header if it's gzipped.

The YSlow extension will also tell you on one screen which JS/CSS files are gzipped and which are not.

ara818
A: 

You can use fiddler and inspect the http header for gzip encoding. Also if you want to see how much compression it did, you can see the page size with and without the filter. From my experience I have seen 90% compression on average on text data.

CoolBeans