Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rickard Liljeberg 23 posts 114 karma points
    Mar 10, 2016 @ 15:03
    Rickard Liljeberg
    0

    Sometimes pages load slow on Azure

    I published a site on Azure and have something odd. Sometimes the pages take about 3 seconds to load (only the document not css or images).

    However then that page is snappy on reloads (consistently around 100ms).

    I talked to a collegue in another city and then we had that the first of us to browse to a certain page would get a 3+s load time, the other person would get the normal 100ms.

    Then that page would be fast continuously. This happened once per page. We have something to keep the app pool going (several solutions actually).

    If we manually stop the service and start it again we got again many slow pages (not just initial slowness due to starting app pool).

    We tried emptying everything in App_Data and it made no difference in speed.

    So in summary... Sometimes when the page has been alone for a while (but without app pool shutting down) many pages are slow to load, but then after loaded once they are fast.

    What could do this?

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 10, 2016 @ 22:29
    Alex Skrypnyk
    0

    Hi Rickard,

    Are you using some sort of Cache in code ? Maybe some problem with sessions ? Are you using MSSQL database?

    Thanks

  • Rickard Liljeberg 23 posts 114 karma points
    Mar 10, 2016 @ 23:42
    Rickard Liljeberg
    0

    No we don't use any caching beyond what umbraco has on by default.

    We don't use any sessions either. I don't know I umbraco uses sessions.

    Yes mssql on azure in the same region.

Please Sign in or register to post replies

Write your reply to:

Draft