Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I verify that web pages are being gzipped?

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?

like image 368
BestPractices Avatar asked Mar 11 '10 20:03

BestPractices


2 Answers

  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.
like image 176
Ztyx Avatar answered Oct 15 '22 09:10

Ztyx


I second the Yslow comment. But to expand just a little, YSlow will show items are using GZip as well as items that are not. Just go to the Components tab of the YSlow Plugin and it will give you a nice column view of items (see image).

YSlow Components Tab

like image 42
meme Avatar answered Oct 15 '22 08:10

meme