ICEfaces
  1. ICEfaces
  2. ICE-2831

inputRichText too slow to show (4 seconds)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • 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

        Issue Links

          Activity

          Mark Collette created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.7 [ 10080 ]
          Assignee Priority P2
          Assignee Adnan Durrani [ adnan.durrani ]
          Adnan Durrani made changes -
          Assignee Adnan Durrani [ adnan.durrani ] Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Link This issue depends on ICE-2830 [ ICE-2830 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7RC1 [ 10123 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: