You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2007/04/05 19:37:32 UTC
[jira] Updated: (OFBIZ-642) Make OFBiz more dial-up friendly
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum updated OFBIZ-642:
------------------------------
Attachment: htmlwidget.patch
htmlwidget.patch addresses item #3 - reduce HTML output by eliminating unnecessary whitespace.
The feature can be enabled by setting the "compressHTML" context field to "true".
Example in screen widget:
<actions>
<set field="compressHTML" value="true" global="true"/>
</actions>
> 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
>
>
> 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.