71 references to HttpCacheability
System.ServiceModel.Web (9)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
86HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.Public);
System\ServiceModel\Dispatcher\HelpPage.cs (1)
101HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.Public);
System\ServiceModel\Web\CachingParameterInspector.cs (7)
279cache.SetCacheability(HttpCacheability.Public); 286cache.SetCacheability(HttpCacheability.Public); 289cache.SetCacheability(HttpCacheability.Private); 292cache.SetCacheability(HttpCacheability.Public); 296cache.SetCacheability(HttpCacheability.NoCache); 299cache.SetCacheability(HttpCacheability.ServerAndNoCache); 302cache.SetCacheability(HttpCacheability.ServerAndPrivate);
System.Web (55)
Abstractions\HttpCachePolicyBase.cs (2)
45public virtual void SetCacheability(HttpCacheability cacheability) { 49public virtual void SetCacheability(HttpCacheability cacheability, string field) {
Abstractions\HttpCachePolicyWrapper.cs (2)
51public override void SetCacheability(HttpCacheability cacheability) { 55public override void SetCacheability(HttpCacheability cacheability, string field) {
Handlers\AssemblyResourceLoader.cs (1)
637cachePolicy.SetCacheability(HttpCacheability.Public);
HttpCachePolicy.cs (26)
81MinValue = HttpCacheability.NoCache, 82MaxValue = HttpCacheability.ServerAndPrivate, 192internal readonly HttpCacheability _cacheability; 229HttpCacheability cacheability, 374internal HttpCacheability CacheabilityInternal {get { return _cacheability;}} 461HttpCacheability _cacheability; 526_cacheability = (HttpCacheability) (int) HttpCacheabilityLimits.None; 767HttpCacheability cacheability; 811if (_cacheability == (HttpCacheability) (int) HttpCacheabilityLimits.None) { 812cacheability = HttpCacheability.Private; 820if (cacheability == HttpCacheability.Public && _privateFields != null) { 832if ( cacheability != HttpCacheability.NoCache && 833cacheability != HttpCacheability.ServerAndNoCache && 868&& cacheability != HttpCacheability.NoCache 869&& cacheability != HttpCacheability.ServerAndNoCache) { 887if (cacheability == HttpCacheability.NoCache || cacheability == HttpCacheability.ServerAndNoCache) { 920if (cacheability != HttpCacheability.Private) { 992if (_cacheability != HttpCacheability.NoCache && _cacheability != HttpCacheability.ServerAndNoCache) { 1159return _cacheability == HttpCacheability.Public 1357public void SetCacheability(HttpCacheability cacheability) { 1374public HttpCacheability GetCacheability() { 1383public void SetCacheability(HttpCacheability cacheability, String field) { 1389case HttpCacheability.Private: 1398case HttpCacheability.NoCache:
HttpResponse.cs (8)
2680if (_cachePolicy != null && _cachePolicy.GetCacheability() == HttpCacheability.Public) 2681_cachePolicy.SetCacheability(HttpCacheability.Server); 3182Cache.SetCacheability(HttpCacheability.NoCache); 3186Cache.SetCacheability(HttpCacheability.Private); 3190Cache.SetCacheability(HttpCacheability.Public); 3194Cache.SetCacheability(HttpCacheability.NoCache); 3510if (!Request.IsSecureConnection && ContainsNonShareableCookies() && Cache.GetCacheability() == HttpCacheability.Public) { 3511Cache.SetCacheability(HttpCacheability.NoCache, "Set-Cookie");
OutputCacheModule.cs (5)
1086if ( cache.GetCacheability() == HttpCacheability.Public && 1089cache.SetCacheability(HttpCacheability.Private); 1093if ( cache.GetCacheability() != HttpCacheability.Public && 1094cache.GetCacheability() != HttpCacheability.ServerAndPrivate && 1095cache.GetCacheability() != HttpCacheability.ServerAndNoCache &&
Security\PassportIdentity.cs (1)
1025context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
StaticFileHandler.cs (1)
565response.Cache.SetCacheability(HttpCacheability.Public);
UI\Page.cs (9)
3533HttpCacheability cacheability; 3672cacheability = HttpCacheability.Public; 3676cacheability = HttpCacheability.ServerAndNoCache; 3680cacheability = HttpCacheability.ServerAndPrivate; 3684cacheability = HttpCacheability.Private; 3688cacheability = HttpCacheability.Public; 3693cacheability = HttpCacheability.NoCache; 4595Response.Cache.SetCacheability(HttpCacheability.NoCache); 5273Response.Cache.SetCacheability(HttpCacheability.NoCache);
System.Web.Extensions (6)
Handlers\ScriptModule.cs (2)
89context.Response.Cache.SetCacheability(HttpCacheability.NoCache); 143response.Cache.SetCacheability(HttpCacheability.NoCache);
Handlers\ScriptResourceHandler.cs (2)
251cachePolicy.SetCacheability(HttpCacheability.Public); 262cachePolicy.SetCacheability(HttpCacheability.Public);
Script\Services\RestHandler.cs (1)
65context.Response.Cache.SetCacheability(HttpCacheability.Server);
Script\Services\WebServiceClientProxyGenerator.cs (1)
58cachePolicy.SetCacheability(HttpCacheability.Public);
System.Web.Mobile (1)
UI\MobileControls\MobilePage.cs (1)
851Response.Cache.SetCacheability(HttpCacheability.ServerAndPrivate);