how we can speed up the project loading on te window azure RRS feed

  • Question

  • User2088646281 posted

    I have hosted the asp.net site on the window azure,It execution spees is very slow,even sigle click with out data interaction took 30 second.

    is there any way to speed up the project execution.

    Is it is realed to code or subscription plan.project is executed fastly on the dedicated server.i am unabe to understand why it is too slow on window azure.


    Monday, March 11, 2013 3:46 AM

All replies

  • User-1103138991 posted

    Hi there are several ways you can check to see where you can speed up the ASP.NET application on Azure: -

    • enable compression
    • enable caching
    • use a CDN
    • use some basic tools to see why your site is slow

    It may be that your script files could potentially be large, things like JS or CSS files are a prime example. You can compress all these types of files in web.config like so: -

    <urlCompression doStaticCompression=”true” doDynamicCompression=”true” dynamicCompressionBeforeCache=”true” />

    You can also allow the kernel mode to cache in these JS and CSS files.

    <add extension=”.aspx” policy=”CacheUntilChange” kernelCachePolicy=”DontCache” duration=”00:00:30″ varyByHeaders=”User-Agent” />
    <add extension=”.axd” policy=”CacheUntilChange” kernelCachePolicy=”DontCache” duration=”00:30:00″ varyByQueryString=”t,d”/>
    <add extension=’.js’ policy=’DontCache’ kernelCachePolicy=’CacheUntilChange’/>
    <add extension=’.css’ policy=’DontCache’ kernelCachePolicy=’CacheUntilChange’/>

    Embedded resource files like .axd are also cached aswell as the .aspx files

    Wednesday, March 13, 2013 8:06 AM
  • User-1916342745 posted

    Check your data and web hosting are in the same region. 

    Thursday, April 4, 2013 10:39 AM