Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7Beta1
-
Component/s: Bridge, Framework, ICE-Components
-
Labels:None
-
Environment:All
Description
Initial load of page with only inputRichText on it:
Time (ms)
31 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/
141 http://localhost:8080/phases/block/resource/LTc4NTk0MDYzMQ==
78 http://localhost:8080/phases/xmlhttp/blank
125 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/fckeditor.html?InstanceName=j_id6%3Aj_id9&Toolbar=Default
422 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/js/fckeditorcode_gecko.js
32 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/fckconfig.js
93 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
218 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/lang/en.js
47 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
32 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/images/spacer.gif
516 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
1,130 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_editorarea.css
140 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/fckstyles.xml
1,140 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.buttonarrow.gif
469 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.collapse.gif
422 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.start.gif
406 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_strip.gif
156 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_editorarea.css
188 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_showtableborders_gecko.css
282 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_internal.css
----- ----
4,850 23 requests, 201 KB
Subsequent loads, a half hour later, took less than one second less time to download, and had just as many requests.
Notes
--------
- We should setup caching for "blank", set to forever
- Caching is not setup, and the files are set to expire in half an hour, from when they were first served. So, after using the app for over a half hour, they're expired.
- The CSS and most of the JS are not minified
- For some reason, some of the CSS files are getting served out several times
- Some small files ~2KB seem to be taking disproportionately long to serve. Might be just due to disk access. Might be worth caching in RAM in an application scoped bean.
- We're getting killed by all the copyright notices in every file
Time (ms)
31 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/
141 http://localhost:8080/phases/block/resource/LTc4NTk0MDYzMQ==
78 http://localhost:8080/phases/xmlhttp/blank
125 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/fckeditor.html?InstanceName=j_id6%3Aj_id9&Toolbar=Default
422 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/js/fckeditorcode_gecko.js
32 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/fckconfig.js
93 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
218 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/lang/en.js
47 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
32 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/images/spacer.gif
516 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_editor.css
1,130 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_editorarea.css
140 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/fckstyles.xml
1,140 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.buttonarrow.gif
469 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.collapse.gif
422 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/images/toolbar.start.gif
406 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/skins/default/fck_strip.gif
156 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_editorarea.css
188 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_showtableborders_gecko.css
282 http://localhost:8080/phases/block/resource/LTQ5MTYyMDg1Mw==/editor/css/fck_internal.css
----- ----
4,850 23 requests, 201 KB
Subsequent loads, a half hour later, took less than one second less time to download, and had just as many requests.
Notes
--------
- We should setup caching for "blank", set to forever
- Caching is not setup, and the files are set to expire in half an hour, from when they were first served. So, after using the app for over a half hour, they're expired.
- The CSS and most of the JS are not minified
- For some reason, some of the CSS files are getting served out several times
- Some small files ~2KB seem to be taking disproportionately long to serve. Might be just due to disk access. Might be worth caching in RAM in an application scoped bean.
- We're getting killed by all the copyright notices in every file
Issue Links
- depends on
-
ICE-2830 Increase Javascript Cache-Control max-age
- Closed
Need to isolate why we're seeing multiple requests for the same resources.
Also need to configure the resource api use to cache these resources for a longer duration (1 week)? At least 1 day. The only time they will change is if a new ICEfaces version is used, and that would require a server restart, etc.