缓存存储在ASP.net中的哪个位置 [英] where is cache stored in ASP.net

查看:116
本文介绍了缓存存储在ASP.net中的哪个位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道缓存变量存储在哪里(Cache [" Data"] = Dataset1)

i want to know where is cache variable stored (Cache["Data"]=Dataset1)

它存储在服务器上(IIS或内置的Visual Server服务器) Stdio)

Is It Stored on Server(IIS or Built In Server of Visual Stdio)

或On Client(浏览器);

or On Client(Browser);

推荐答案

缓存存储在本地Web场的每个服务器上的内存。

the cache is stored locally in the memory on each server of the web farm.

因此,在多服务器环境中,您将拥有多个缓存。如果您想要整个服务器场的单个缓存,您必须寻找分布式缓存机制(如在应用程序Fabric中)

So in a multi-servers environment, you'll have multiple caches. If you want a single cache for the whole farm you have to look for a distributed cache mecanism (like in app Fabric)


这篇关于缓存存储在ASP.net中的哪个位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆