• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Measure compression?

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a web application deployed in Tomcat 4.0. I have added a filter to compress the content served. My question is - is there any way I can measure the size of the server response (content served per URL) so that I can quantify the compression. For example, I disable the compression and the size of the response for a URL is, say, X kilobytes. I enable the compression and I get the size of the same URL is, say, Y kilo bytes. Now by comparing X and Y, I know how much is the compression. I prefer do it on server side since I have tried some browser plug-ins in IE (my application runs on IE only) and they aren't helpful for this purpose.

Thanks in advance,

-Milind
reply
    Bookmark Topic Watch Topic
  • New Topic