开发者

Pages disappearing from asp.net cache

I use shared host开发者_如何学编程ing. I have set my page to be cached indefinitely. The page gets cached after the first request. However on the next day when I visit my site it is no longer in the cache and has to be regenerated.

What is happening? Is the hosting removing my pages from the cache? Or something else?

Any ideas?


There aren't a lot of details to go off of here, but here's a few ideas:

  1. IIS by default will recycle the app pool every 29 hours or so, which resets at least the System.Web.Caching caches.
  2. Perhaps memory or disk spaced is limited (or configured to be limited.) Many caches are designed to kick out old items when memory is needed for something else.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜