+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity Heavy Page Weight / Slow Load Times

Sitefinity Heavy Page Weight / Slow Load Times

12 posts, 0 answered
  1. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    06 Mar 2009
    Link to this post
    We are using Sitefinity for an internal only call center application; whereas, when a call comes into the system, we pass the correct page to for an agent to read the screen/page to greet the calling customer.

    Problem is, upon investigation. Agents were experiencing slow page load time... meaning phones rings 3-4 times before the Sitefinity page loads for them to read the prompt to answer the call equals bad service. This is even with Caching turned on!

    Investigating the pages further, we only used:
    • Telerik Tabstrip in Sitefinity Template editor
    •  Search Bar controls
    • 2 Generic Content controls

    Then we looked at the total page weight, which revealed a shocking 465KB in HTML, CSS, AXD Resources, and Javascript files. When we rebuilt the page manually (pure HTML, CSS and 1 image) we totalled 10KB. Why are .NET and Sitefinity page resource files so heavy? There is not minified Javascript files either.

    We have alot of time and resources invested in this system, and would not like to abandon it now but will if there is no fix. Any solutions?

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    07 Mar 2009
    Link to this post
    Hi,

    Could you please check if the compilation debug is set to False in the web.config file? If not, this is the reasons for the very large Javascripts. The Microsoft Ajax framework is being downloaded everytime to the client browsers with debug extensions.
    Another thing you could try, is to enable the content expiration headers in IIS. This way, all the images, css files, and javascript will be cached in the browsers, so they will not be downloaded again and again on each request.
    Hope this helps.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    07 Mar 2009
    Link to this post
    Thanks for responding. That helped a bit (Debug was turned on) but the total page weight is still ridiculous in comparision to what it should be. This site is a very minimalistic design and literally has only 1 image in the header for logo branding (1.07KB).

    That said here's is what I have for page weights:

     Page Controls Used Weight Before  Weight After 
    Homepage Search Box
    Tabstrip (no links, empty bar)
    Generic Content
    Site Treeview (100+ pages)
     900KB  705KB
    Full Content Page Search Box
    Tabstrip
    2 Generic Content
     452KB  244KB
    Minimal Content Page Search Box
    Tabstrip
    2 Generic Content
     446KB  238KB

    Is there any other way to reduce the this to rational sizes, under 40KB?
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Mar 2009
    Link to this post
    Hi,

    Have you enabled the Content Expiration headers in IIS7? Please take a look at the KB Article Optimizing Sitefinity performance for some information on this.

    Could you please install HttpWatch extension for Internet Explorer, and send me a report from it? I will check which files are not being cached by the browser.

    There is one more thing you could do to reduce the page size with 10-100KB bytes - disabling the ViewState. In Sitefinity 3.6, we have implemented such option for all pages. You can upgrade your project to 3.6 and disable the ViewState, I am sure it make some difference in the page size.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    09 Mar 2009
    Link to this post
    Hi Georgi,

    What email addy should I send to?

    How should I send the results? (.HWL or .CSV)?
  6. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    09 Mar 2009
    Link to this post
    Also, IIS HTTP Headers are set to "Expire after 30 days". This was in addition to the Debug solution.

    Also, we're using IIS6 for this server but have plans to upgrade to IIS7 this month.
  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    12 Mar 2009
    Link to this post
    Hello AntonioWells.com,

    Please send me the results to georgi.chokov@telerik.com
    I will check the items size, and will come back to you.

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    13 Mar 2009
    Link to this post
    Hello,

    Thank you for providing the log file.

    Looking in it, I saw that there is no even one request that takes more than 0,5 seconds, actually, in the most cases the pages are loading under a second. I see that the caching is enabled.
    That brings the following question to my mind - what client/browser do you use to read the pages? Do you use AJAX somewhere in the application?

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    24 Mar 2009
    Link to this post

    Hi Georgi,

    The HTTPWatch log I sent you was from my PC which is optimal for performance:

    • HP xw8400 Workstation, Windows XP SP3
    • Intel Xeon Quad core CPU
    • E5345 @ 2.33Ghz
    • 3GB of Ram

    The majority of the PC the application will be targeting is:

    • Windows XP SP2
    • Intel P4
    • 2.6 Ghz
    • 1 GB Ram

    Also, these systems typically are running 5-10 applications concurrently. So my goal is not to add a hefty webpage to an already worked PC, rather send the lightest possible page with mostly textual information.

  10. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    26 Mar 2009
    Link to this post
    Hello,

    Thank you for your follow up.

    I don't think that the client's PC are that slow, and I think they should be able to handle this load. I also believe that the HttpWatch log will not be very different if you take it from such PC.
    I didn't understand if the people working on these computers, will be working with browsers, or with custom applications making WebRequests. If the pages are loading in a browser with cache enabled, there should not be any problems.

    Greetings,
    Georgi
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  11. AntonioWells.com
    AntonioWells.com avatar
    14 posts
    Registered:
    21 Oct 2008
    09 Apr 2009
    Link to this post
    Georgi, thanks for much for your help. I'm following this up as it may help someone else. I have IIS7 setup on Windows Server 2008 promperly now and here are the file sizes I receive now that everything is optimized.

     Page Controls Used Weight Before  Weight After 
    Homepage Search Box
    Tabstrip (Update: links used)
    Generic Content
    Site Treeview (100+ pages)
     900KB  167KB
    Full Content Page Search Box
    Tabstrip
    2 Generic Content
     452KB  95KB
    Minimal Content Page Search Box
    Tabstrip
    2 Generic Content
     446KB  95KB

    One gripe I have is that I didn't get these numbers until I happen to be poking around the web.config file and saw this:

    <

     

    system.web.extensions>

     

    <

     

    scripting>

     

    <!--

     

    The Following lines value should be true in production server-->

     

    <

     

    scriptResourceHandler enableCompression="true" enableCaching="true" />

     

    </

     

    scripting>

     

    </

     

    system.web.extensions>

     

    Once I manually turned the "false" to "true", it worked fine. Is this not something that can be easily toggled via a UI? Also, why is there not any documentation on this? (Or did I miss it)

    Although I would like to see the "Weight After" reduced another 50%, this is the best I'm gonna get!
  12. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    10 Apr 2009
    Link to this post
    Hello

    Actually this kind of optimization (the compression you mentioned) is a new feature of the RadControls. You can find more about it and the controls documentation, but I completely agree that we should have this in our documentation as well. I also had to tell you about it earlier, and somehow I skipped this part.

    I am logging a task for including this in our manuals, and I am really glad you have managed to reduce the size of your pages.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
12 posts, 0 answered