CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Java and JSP (http://www.codingforums.com/forumdisplay.php?f=54)
-   -   modify response.getOutputStream() before gzip (http://www.codingforums.com/showthread.php?t=145775)

BubikolRamios 08-03-2008 05:55 PM

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:

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 ?


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.