ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: compressHTML recommended configuration
Date Wed, 11 May 2011 18:55:39 GMT
To be sure use both compress.HTML and also screen.compress=true in widget.properties if you
want it to all web apps (look for them 
in Java code you will understand the advice)
If you want only some web apps then compressHTML in respective web.xml files

Note that I have recently proposed to increase the compressHTML buffer from 2KB (Freemarker
default) to 10KB, will be in trunk only
though...

Jacques

From: "varun bhansaly" <vbhansaly@gmail.com>
> Hi,
>
> I'm using ofbiz 10.04, whats the best & recommended way of enabling HTML
> whitespace compression.
>
> 1. Is it by uncommenting in widget.properties compress.HTML, OR
> 2. by specifying compressHTML context parameter in web.xml ? If yes, then
> would this need to be done for all web apps ?
>
> -- 
> Regards,
> Varun Bhansaly
>



Mime
View raw message