Slow first page load on asp.net site

后端 未结 6 732
春和景丽
春和景丽 2020-11-29 22:14

Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net - it takes around 15 seconds to load the page (15 secon

6条回答
  •  有刺的猬
    2020-11-29 23:09

    The IIS application pool is shut down after 30 minutes of inactivity. After that, when you make a request IIS basically has to start the website up again, which leads to the behavior you are describing. You can change the idle time of your website in iis though to avoid it.

提交回复
热议问题