开发者

Page cache - initiate the first page request in the server

开发者 https://www.devze.com 2022-12-27 04:37 出处:网络
I\'m implementing Outputcache in my application and it works fine, but the first time always take a lot to load and the next foll开发者_运维知识库owing request will be faster...

I'm implementing Outputcache in my application and it works fine, but the first time always take a lot to load and the next foll开发者_运维知识库owing request will be faster...

I would like to know if there is a way to initiate the page caching on the server side and serve the cached page upon the very first request, rather than have it triggered by the user one first time.

Any ideas/suggestions will be very much welcome.

Best regards, TT


Take a look at the IIS Warm up module, you can configure the pages it will invoke which then when you deploy your new site it will cause the page cache to be built.

Now Available: The IIS 7.5 Application Warm-Up Module

Another feature to consider is in .NET 4.0 you can make the OutputCache be disk based which will allow the cache to persist between the app pool being reset, you may want to consider this in addition to the warm up module.

0

精彩评论

暂无评论...
验证码 换一张
取 消