[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466604 ]
Adrian Crum commented on OFBIZ-642: ----------------------------------- Jonathon, If you want to see how much markup is being produced by OFBiz, all you have to do is view the page source of any content-intensive OFBiz page. It would help if you spent a little time understanding what Freemarker does, and the purpose of the <#compress> directive. It is NOT the same thing as HTML 1.1 gzip compression. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: Apache OFBiz (The Open for Business Project) > Issue Type: Improvement > Reporter: Adrian Crum > Priority: Trivial > > 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.