History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-1207
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jean-Marc Orliaguet
Reporter: Jean-Marc Orliaguet
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

Add on-the-fly javascript compression to NXThemes resource servlet

Created: 18/06/07 18:10   Updated: 19/06/07 16:17
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.RC

Time Tracking:
Not Specified

Resolution Date: 19/06/07 16:17
Require Callback: No
Participants: Jean-Marc Orliaguet
Tags:


 Description  « Hide

currently javascript resources served by NXThemes (/nxthemes-lib/) can be:

- gzip-compressed
- stored in the browser's cache
- concatenated (to fetch several .js files within a single HTTP connection)

but even with that there is a delay when loading pages especially when the size of javascript resources is big. Indeed, smaller javascript files are loaded and interpreted much faster.

Dojo's ShrinkSafe for instance achieves quite good results
http://dojotoolkit.org/docs/shrinksafe

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jean-Marc Orliaguet - 19/06/07 16:17
fixed in:

http://svn.nuxeo.org/trac/nuxeo/changeset/20791
http://svn.nuxeo.org/trac/nuxeo/changeset/20817
http://svn.nuxeo.org/trac/nuxeo/changeset/20822

...

NXThemes resources are now also cached on the server.

the problem is that there are still a lot of resources (.js, .css, ..) that are being served for every page being displayed (MyFaces, custom libs) Most of the rendering time is wasted there.