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