[ 
https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487066
 ] 

Chris Howe commented on OFBIZ-642:
----------------------------------

Hey Adrian,

It looks good. Would the variable be better if it were parameters.compressHTML 
for the control?  That way it can be defined in the web.xml for universal 
webapp control, or overridden in the screen definition.

> Make OFBiz more dial-up friendly
> --------------------------------
>
>                 Key: OFBIZ-642
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-642
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>            Reporter: Adrian Crum
>            Priority: Trivial
>         Attachments: htmlwidget.patch, htmlwidget.patch
>
>
> Reduce OFBiz's HTML output so that pages load faster on dial-up lines.
> Three things can be done to achieve that goal:
> 1. Reduce HTML code through better use of styles (currently in progress).
> 2. Eliminate the language selection code that is sent out with every page 
> request. Intead of having a selection box in the header, just display the 
> currently selected language and provide a link to change it. Clicking on the 
> link could produce a language selection popup window - similar to the current 
> lookup windows.
> 3. Freemarker has the <#compress></#compress> directives which eliminate 
> unnecessary HTML white space. A recent test showed the directives can yield a 
> 33% reduction in markup. Problem is, that only works if the directive is 
> placed in every FTL file. There needs to be a way to make that a global 
> setting in Freemarker, so that ALL markup is reduced - without any additional 
> FTL coding. I looked around the Freemarker website for a way to do that, but 
> couldn't find anything.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to