Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004570Openbravo ERPI. Performancepublic2008-08-05 09:272011-11-14 18:07
opablo 
dbaz 
urgentminoralways
closedno change required 
5Any
2.40beta 
 
Core
No
0004570: HTML pages are too heavy for Internet connection
Data size required to load a page is about 1Mb and it is too much for an Internet connection. This is due to JS files included in HTML pages
Request for any Openbravo page. Use Firebug to see the size of it.
Maybe including dojo 1.1 could be a solution (the heaviest JS library is DOJO).

Another solution is the following:

Remove all JS libraries from HTML pages, and put them in the frameset page. Include some libraries in all HTML pages (pages that should be inside the frameset) with the same function names that wrap a call to top.parent libraries.
performance2.40scrum
depends on feature request 0004929 closed dbaz HTML pages are too heavy for Internet connection 
blocks feature request 0000421pi acknowledged dbaz Make interface components HTML standard 
Issue History
2008-08-05 09:27opabloNew Issue
2008-08-05 09:27opabloAssigned To => cromero
2008-08-05 09:27opablosf_bug_id0 => 2038515
2008-08-05 09:27opabloIssue Monitored: opablo
2008-08-14 10:07psarobeAssigned Tocromero => dbaz
2008-08-14 10:07psarobeSeveritymajor => minor
2008-08-14 10:07psarobeStatusnew => scheduled
2008-10-02 13:58pjuvaraPrioritynormal => high
2008-10-30 15:15pjuvaraPriorityhigh => immediate
2008-11-06 08:58pjuvaraAssigned Todbaz => iperdomo
2008-11-06 10:25iperdomoTag Attached: performance2.40scrum
2008-11-07 09:00pnudingNote Added: 0010063
2008-11-07 09:00pnudingPriorityimmediate => urgent
2008-12-30 11:42iciordiaAssigned Toiperdomo => dbaz
2008-12-31 13:36dbazNote Added: 0011793
2008-12-31 13:37dbazNote Edited: 0011793
2008-12-31 13:37dbazNote Edited: 0011793
2009-01-26 17:43dbazTypedefect => feature request
2009-01-26 17:46dbazRelationship addeddepends on 0000421
2009-01-26 17:46dbazRelationship replacedblocks 0000421
2009-01-26 17:47dbazStatusscheduled => acknowledged
2010-03-11 10:28rafarodaIssue Monitored: rafaroda
2011-11-14 18:06dbazStatusacknowledged => scheduled
2011-11-14 18:06dbazfix_in_branch => pi
2011-11-14 18:07dbazNote Added: 0042811
2011-11-14 18:07dbazStatusscheduled => closed
2011-11-14 18:07dbazResolutionopen => no change required

Notes
(0010063)
pnuding   
2008-11-07 09:00   
Issue is scheduled for resolution in Sprint 3 of the Performance project - as discussed with PJuvara reduced priority to urgent to avoid confusion
(0011793)
dbaz   
2008-12-31 13:36   
(edited on: 2008-12-31 13:37)
Some measures

JAVASCRIPT
----------

minimizeJSandCSS=no

utils.js 145k
windowKeyboard.js 46.7k
shortcuts.js 10k
appStatus.js 13k
error.js 2k
messages.js 6k

TOTAL = 223k

minimizeJSandCSS=yes

utils.js 67k
windowKeyboard.js 29k
shortcuts.js 7k
appStatus.js 8.50k
error.js 0.5k
messages.js 2.5k

TOTAL = 115k


CSS
---

minimizeJSandCSS=no

Openbravo_ERP_250.css 250k


minimizeJSandCSS=yes

Openbravo_ERP_250.css 170k


DOJO
----

dojo 0.4.3 (OB ERP 2.35 and 2.40): 350k
dojo 1.2.x (OB ERP 2.50): 275k

(0042811)
dbaz   
2011-11-14 18:07   
As agreed with Jon Alegría, since it doesn't happen in Openbravo 3, it can be closed.