HttpRuntime. Cache invalid, httpruntime. cache

Source: Internet
Author: User

HttpRuntime. Cache invalid, httpruntime. cache

Recently, I made a newspaper content website. In order to improve the response speed, I stored the Part document list of each topic on the homepage and the second topic in HttpRuntime. cache. problems are found after the release, and the inserted Cache will soon become invalid, so there is no problem with local debugging.

Because the HttpRuntime. Cache mechanism has dependency, expiration, and priority policies, check that the Code does not trigger the renewal of dependency changes or expires. It is suspected that the problem lies in the setting of IIS Memory Management.

Compared with the advanced settings of the application pool of the test machine, the following settings are found: the dedicated memory limit is bold, indicating that this top should have been set by others. After this item is set to 0, test HttpRuntime again. the Cache is no longer lost quickly and functions are restored.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.