web app slow performance when leave idle for some time

前端 未结 3 1728
醉梦人生
醉梦人生 2020-12-20 17:59

We have a web application deployed on IIS 7.5 target framework 4.0 the application perform slow when leave idle for few minutes for first time and then perform as expected t

3条回答
  •  [愿得一人]
    2020-12-20 18:40

    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.

    You could also look into the Auto-Start feature of the 4.0 framework.

提交回复
热议问题