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.
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?
Hi Rickard,
Are you using some sort of Cache in code ? Maybe some problem with sessions ? Are you using MSSQL database?
Thanks
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.
is working on a reply...