[英]First request in website is slow hosted in Deluxe
I have a Deluxe Plan in Godaddy (Windows plan), where I host some websites. 我在Godaddy有一个豪华计划(Windows计划),在其中托管一些网站。 When I check my websites, the request spend more than 10 seconds, between sending request and receiving response.
当我检查我的网站时,请求在发送请求和接收响应之间花费了10秒钟以上。 If I want to access to this site after several hours of inactivity, this happen again.
如果几个小时不活动后我想访问该站点,则会再次发生。
For this problem, I created a console application where, each 1 minute, it going to visit my websites. 对于这个问题,我创建了一个控制台应用程序,每隔1分钟,它将访问我的网站。 I hosted this application in Azure Web Job, but this wasn't a solution for my problem.
我将此应用程序托管在Azure Web Job中,但这不是解决我的问题的方法。
What I should do to my websites respond fast?, Regardless of user activity 无论用户活动如何,我对网站的响应速度如何?
部署网站后,第一个请求将花费更长的时间,但是之后它应该加载得更快。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.