You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/02/01 08:20:05 UTC

[jira] Commented: (OFBIZ-642) Make OFBiz more dial-up friendly

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

Jacques Le Roux commented on OFBIZ-642:
---------------------------------------

Just a remark about 

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.
    >Your point 2 is worrying. There could be hundreds of UI labels in hundreds of languages sent out per HTML output. 

There is a pragmatic turnaroud for this : just use languages you need in production. For that set locales.available in general properties. For instance in my demo server I use only languages really implemented in OFBiz  for now
    # -- locales made available separated by comma's
    locales.available=en,fr,de,it,nl,es,ja,zh

I beleive it's better to keep all the language OOTB to better demonstrate OFBiz scalling i18n possibilites.

> 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
>
> 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.