IE7 and IE8 performance, and core.css

4 posts, 0 answers
  1. IC
    IC avatar
    2 posts
    Member since:
    Nov 2010

    Posted 25 Nov 2010 Link to this post

    Hi there,

    Using the v5.8.1 of the MOSS 2007 RAD Editor - when we have multiple RAD Editor controls on a page, we observe very poor loading times in IE7. IE 8 is somewhat better, and of course the majority of this is presumably based on improved javascript engine and css handling. As an example, firefox 3.6 loads the page in under 3 seconds. IE8 takes just over 10, and IE7 takes over 30 (and becomes effectively unusable due to high CPU utilisation).
    I have reviewed some of the performance tips and tried various options. As it stands, we now have as follows:
    - no modules loading
    - we are not using the CSS menus
    - we have minimised the controls required on the toolbars.
    - we have also tried using shared toolbar and the toolbar "showonfocus" property. Whilst these do help in loading time for the RAD objects in IE8 (as an example), the impact is minimal.

    Using fiddler to trace the calls, we see that (as an example) the Sharepoint core.css is loaded for every RAD Editor instance on the page, with .4 to .5 second delay in between. Once all these have been called, it then proceeds to call editorcontentarea.css, htmleditortableformats.css and htmleditorcustomstyles.css (all 3 for each instance of the RAD Editor on the page).

    The core.css have the longest delays between them - I'm assuming that for core.css this has to do with the javascript processing starting for each instance of the control?  - is there any way to stop it calling core.sss for every instance? it is cached, but the additional delay in getting the 304 response from a remote server to use the cached object all adds up to a significant percentage of (for IE8) the 10 seconds load time.

    Would very much appreciate any tips or experiences around optimising these.

    -IC
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 29 Nov 2010 Link to this post

    Hello IC,

    Review the following online help article:
    http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html

    What you can do is add the following elements before the ending </root> element in  the respective ToolsFile.xml or ListToolsFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder:
    <cssFiles>
        <item name="" />
    </cssFiles>



    Best wishes,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. IC
    IC avatar
    2 posts
    Member since:
    Nov 2010

    Posted 07 Dec 2010 Link to this post

    Thank you for the response and suggestion.
    From my original observation:
    "Using fiddler to trace the calls, we see that (as an example) the Sharepoint core.css is loaded for every RAD Editor instance on the page, with .4 to .5 second delay in between. Once all these have been called, it then proceeds to call editorcontentarea.css, htmleditortableformats.css and htmleditorcustomstyles.css (all 3 for each instance of the RAD Editor on the page)"

    Using the suggestion, that drops the 3 CSS files for each RAD Editor instance down to just 1 (editorcontentarea.css), however, we still see core.css loading for every RAD instance on the page. Is there any way to stop this or have it load just once.

    Regards,
    -IC
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 Dec 2010 Link to this post

    Hi IC,

    Unfortunately I can not provide you with a workaround to stop the loading the core.css file.
    Could you check if it will be loaded multiple times when you use the OOB MOSS editor as well?

    Regarding the editorcontentarea.css it is loaded in each RadEditor, because the content are of the control is an IFRAME and this is a css, which is related to the proper working of the control.

    All the best,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top