简体   繁体   English

在asp.net环境中处理缓存

[英]Handling caching in asp.net environment

I am researching on how to handle caching in .net environment. 我正在研究如何在.net环境中处理缓存。 I know that .NET supports the caching class object and we can always use it but here the problem that I am facing is different. 我知道.NET支持缓存类对象,我们总是可以使用它,但在这里我遇到的问题是不同的。

When we talk about caching(data caching), we are actually caching all the information from the DB but at the same time we want to make sure that we want to use the cached values ONLY IF the database has not changed. 当我们谈论缓存(数据缓存)时,我们实际上是缓存来自数据库的所有信息,但同时我们希望确保只在数据库没有更改时才使用缓存值。 Otherwise we want to be reading those values from the database. 否则,我们希望从数据库中读取这些值。

IS there any framework that I can use? 有没有我可以使用的框架? Does it support in a webfarm environment? 它是否支持webfarm环境?

Take a look at this link .... cache management in asp.net and ways to handle cache 看一下这个链接.... asp.net中的缓存管理以及处理缓存的方法

I hope it will helps you..... 我希望它会帮助你......

cheers... 干杯...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM