modify response.getOutputStream() before gzip
I have a filter that gzip-s all jsp-s before sending to client.
If nothing else it is eating my nerves when wiew/source on browser:
and this is a nice one :), a bunch of spaces, comments.
<!--samo zato da drži info o trenutnem jeziku-->
<div style = 'display:none' id = 'l'>
<div st ....
Is there a way to remove that from response.getOutputStream() before gzipping ? I'm sure it is I just dont know how to do it.
Allso, seems gzip is taking time, is that worth to use it at all ?