Bug 793742 (JBEPP-812) - add the option to load the portal static rsources on demand besides the current implementation that loads all of the resources the first time the portal page is hit.
Summary: add the option to load the portal static rsources on demand besides the curre...
Keywords:
Status: CLOSED DEFERRED
Alias: JBEPP-812
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: 5.1.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.0.GA
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 16:39 UTC by Gary Hu
Modified: 2012-02-27 14:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-15 10:58:38 UTC
Type: Feature Request


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-812 0 None Closed add the option to load the portal static rsources on demand besides the current implementation that loads all of the res... 2012-02-27 14:09:18 UTC

Description Gary Hu 2011-03-02 16:39:23 UTC
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000006K97M
project_key: JBEPP

The current implementation of EPP5 loads all the static resources the first time the portal page is hit. All the static resources then are properly cached. 
But customer also discovers that this implementation makes the size of the default home page out of box about 1.5 Mb and consequently takes long time to fully load.
The following is a list of js, css, images loaded for the default home page with Site Publisher installed:
http ://10 .0 .1.8 9 :8 0 8 0 /portal/javascript/merged.js
http ://10 .0 .1.8 9 :8 0 8 0 /.../I18NMessage.js
http ://10 .0 .1.8 9 :8 0 8 0 /.../MessageResource_en.js
http ://10 .0 .1.8 9 :8 0 8 0 /.../ckeditor.js
http ://10 .0 .1.8 9 :8 0 8 0 /.../Stylesheet-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /.../Stylesheet-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /eXoResources/skin/Stylesheet-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /.../Stylesheet-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /.../1297961624585-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /.../DefaultStylesheet-lt.css
http ://10 .0 .1.8 9 :8 0 8 0 /.../LoadingProgress.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../LightBlueStyle.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../EdittingToolBarL.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../EdittingToolBarR.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../EdittingToolBarC.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../IconLockedBig.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../ExoMessageDecorator.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../Message.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../CloseIcon.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../MiddleExoMessage.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../MessageTabBar.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../MessageTabDialog.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../cabecalho-bg.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../controle-bg.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../body-bg.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../bullet-input.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../menu-img.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../navegacao-bg.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../BgPagebody.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../MaskWorkspace.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../MiddleMaskWorkspace.png
http ://10 .0 .1.8 9 :8 0 8 0 /.../logo-brasil.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../logo-mct.gif
http ://10 .0 .1.8 9 :8 0 8 0 /.../topo.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../busca-icone.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../acessibilidade-diminuir.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../acessibilidade-aumentar.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../acessibilidade-contraste.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../rss.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../339a9a3e0a000157237872d0fbdd9055?...
http ://10 .0 .1.8 9 :8 0 8 0 /.../imagem-2.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../imagem-3.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-1.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-2.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-3.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-4.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-5.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /.../icone-6.jpg
http ://10 .0 .1.8 9 :8 0 8 0 /p o rtal/favicon.ico

Is it possible to add the option to only load the resourced as needed? 
For example, ckeditor.js is only needed to people who login and edit the page content but it's also loaded for the anonymous login user.

Comment 6 Jared MORGAN 2011-11-16 23:49:03 UTC
Release Notes Docs Status: Added: Not Yet Documented
Release Notes Text: Added: CAUSE:

CONSEQUENCE:

FIX:

RESULT:


Comment 7 Thomas Heute 2011-12-15 10:58:38 UTC
DOM has been simplified and things like the CKEditor is not loaded anymore on anonymous pages

Comment 8 Thomas Heute 2011-12-15 10:58:38 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Not Required


Comment 9 claudio 2012-02-27 14:12:56 UTC
Hi, I see that in a EPPSP 5.2 installation, for an anonymous internet user (no login) the ckeditor is loaded by default. That corresponds to 311.4 KB

<script type="text/javascript" src="/eXoStaticResources/ckeditor/ckeditor.js"></script>


Note You need to log in before you can comment on or make changes to this bug.