ASP.NET MVC - Slow initial load

前端 未结 5 446
栀梦
栀梦 2020-11-30 21:12

I\'ve recently created an asp.net mvc web application and published it online.

When first loading the website you should find that it takes around 10-15 seconds for

5条回答
  •  死守一世寂寞
    2020-11-30 22:02

    In addition to what Jay has said.. you should consider the memory usage of your app pool. This is especially true for Shared hosting environments, where your provider will generally recycle an app pool once a memory limit is hit (rather than time-based). This will again cause your site to "restart", causing an initial load perf issue.

提交回复
热议问题