You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by varun bhansaly <vb...@gmail.com> on 2011/05/11 19:24:05 UTC
compressHTML recommended configuration
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
Re: compressHTML recommended configuration
Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <vb...@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
>