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:

Code:
 
        <!--samo zato da drži info o trenutnem jeziku-->
        <div style = 'display:none' id = 'l'>
          EN 
        </div>  
        
        <div st ....
and this is a nice one , a bunch of spaces, comments.

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 ?