How to improve startup performance on IIS / ASP.Net

前端 未结 5 1219
灰色年华
灰色年华 2021-01-05 08:20

I am using a particularly slow virtual web host (name withheld!) where disk performance can be very bad. Thus, the first hit to my ASP.Net web sites can take 1+ minutes to l

5条回答
  •  囚心锁ツ
    2021-01-05 08:31

    How much of the site do you want to have pre-loaded? How many pages?

    You can pre-compile the site, to remove the "compilation" part of the issue, but if the site is large enough, it may not make sense to "pre-load" the site. This would be especially true if the site runs on multiple hosts.

提交回复
热议问题