Sitemesh + GZip filter

Guillaume Boudreau <[email protected]> Mon, 08 Aug 2005 11:01:25 CDT
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <1239506.1123516949589.JavaMail.os-j2ee@opensymphony01.contegix.com>
Hi,

I'm trying to reduce my sitemesh-ed pages size. I added a trim filter in my application server's web.xml (removes duplicate line-feeds & white spaces). This works fine. I reduced my page size by 31%. I then tried to add a GZip filter over that. Now, I see the GZip encoded page in clear text in my browser. If I remove the sitemesh filter from my web.xml, the GZiped + trimed page shows correctly, but sitemesh-ing the page before I GZip it seems to confuse the browser, and it seems to thinks it will receive non-compressed data.

Example: ¡ß›Í±E´ûÀ®¿Vò• 6«†Í¾ìbB)«@»¥‘cÍÛK2çrø9\!’Ä•cYnª”Íüb`·BÈJ“hìe0xB“]5ïUC $

Anyone has a suggestion on how I could pinpoint the problem ? I have no problem tracing in Sitemesh code.

Thanks,

- Guillaume Boudreau

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=5287&messageID=12433#12433


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]