Check compression in web page

This module offers a way to check your web pages for correct gzip compression. It not only checks that your web page is compressed properly when required, but also checks that the web page is not accidentally compressed when not required, and that the compression actually does something useful in terms of reducing the page size. I wrote it because I couldn't find anything to do that on CPAN.

It's compatible with Test::More if you want to run the compression checks automatically.

3 Comments

I think it would be neat if this module used HTTP::Tiny instead of LWP. HTTP::Tiny is core on perl 5.14+ and it doesn't really look like it uses any LWP-specific features (like hooks or HTTP::Message objects).

Leave a comment

About Ben Bullock

user-pic Perl user since about 2006, I have also released some CPAN modules.