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,