[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wickersheimer Jeremy updated OFBIZ-642: --------------------------------------- Attachment: ofbiz-642-locale_tz.patch Missed the header.ftl > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-642: ------------------------------ Attachment: ofbiz-642-locale_tz.patch Improved patch. Jeremy's patch was good, but there were a few problems with it. I corrected the problems and re-created the patch. This patch depends on the patch in OFBIZ-1117. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-642: ------------------------------ Attachment: ofbiz-642-locale_tz.patch Oops, I missed a couple of Freemarker transforms in the last patch. Improved patch attached. Jeremy - make sure you use the <@ofbizUrl> Freemarker transform when constructing component links. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-642: ------------------------------ Attachment: ofbiz-642-locale_tz.patch Updated ofbiz-642-locale_tz.patch against latest SVN. Framework committers - could you please take a look at this patch? The concept was voted for in the dev ml a while ago, and this Jira issue has a couple of votes too. I'm pretty sure this is an improvement that everyone will appreciate. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Crum updated OFBIZ-642: ------------------------------ Attachment: ofbiz-642-locale_tz.patch Oops, two new files were left out of last patch. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512480 ] Jacques Le Roux commented on OFBIZ-642: --------------------------------------- Adrian, Jeremy, The "compress patch" (htmlwidget.patch) is in trunk rev. 555988 I got a couple of ConcurrentModificationException (whitout consequences) when loading back and front ends concurrently at start but anymore thereafter. I re-tried and did not reproduce. Reviewing ant testing the ofbiz-642-locale_tz.patch... > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-642. --------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Adrian, Jeremy, I applied and tested the ofbiz-642-locale_tz.patch. More than only reducing http traffic, IMHO it gives really a better user experience (larger place to see things) In trunk rev. 555997 > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512513 ] Jacques Le Roux commented on OFBIZ-642: --------------------------------------- Just one remark : we can't anymore pre-select a language using its 1st letter. Could it be a solution for this with the new feature ? > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512514 ] Adrian Crum commented on OFBIZ-642: ----------------------------------- We could go back to using a drop-down list. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512520 ] Jacques Le Roux commented on OFBIZ-642: --------------------------------------- Yes, that's what I was thinking about : a large one > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513524 ] [hidden email] commented on OFBIZ-642: --------------------------------------------- Jacques, I have a quick question for you if you don't mind. I have changed the locales.available in general.properties and un-commented it....but it doesn't change anything. I REALLY want to get rid of the majority of languages that are available in the dropdown list (ecommerce). Google Analytics shows the languages as my top keywords : ) Thanks! Erik (I have the drum store in Houston) P.S. Are you still too busy to take on small projects?? I could use some help getting my site finished. > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513528 ] Scott Gray commented on OFBIZ-642: ---------------------------------- Hi Erik Did you restart OFBiz after changing the general.properties file? The properties are cached permanently so you need to restart the server for them to have any effect. Regards Scott > Make OFBiz more dial-up friendly > -------------------------------- > > Key: OFBIZ-642 > URL: https://issues.apache.org/jira/browse/OFBIZ-642 > Project: OFBiz > Issue Type: Improvement > Reporter: Adrian Crum > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: htmlwidget.patch, htmlwidget.patch, htmlwidget.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.patch, ofbiz-642-locale_tz.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. |
Free forum by Nabble | Edit this page |