1 write to _cachePolicy
System.Web (1)
HttpResponse.cs (1)
1798_cachePolicy = new HttpCachePolicy();
25 references to _cachePolicy
System.Web (25)
HttpResponse.cs (25)
215if (_cachePolicy != null && StringUtil.EqualsIgnoreCase("Set-Cookie", h.Name)) { 216_cachePolicy.SetHasSetCookieHeader(); 443if (_cachePolicy != null && _cachePolicy.IsModified()) { 444_cachePolicy.GetHeaders(headers, this); 793_cachePolicy.SetHasSetCookieHeader(); 800if (!_cachePolicy.IsKernelCacheable(Request, enableKernelCacheForVaryByStar)) { 810double seconds = (_cachePolicy.UtcGetAbsoluteExpiration() - DateTime.UtcNow).TotalSeconds; 820_cachePolicy.SetNoMaxAgeInCacheControl(); 853return (_cachePolicy.IsVaryByStar && outputCacheConfig.EnableKernelCacheForVaryByStar); 1797if (_cachePolicy == null) { 1801return _cachePolicy; 1809return _cachePolicy != null; 2146if (_cachePolicy != null) { 2147_cachePolicy.Reset(); 2544if (_cachePolicy != null && _cachePolicy.IsModified()) { 2680if (_cachePolicy != null && _cachePolicy.GetCacheability() == HttpCacheability.Public) 2681_cachePolicy.SetCacheability(HttpCacheability.Server); 3447if (_cachePolicy != null) { 3448if (_cachePolicy.IsModified()) { 3450_cachePolicy.GetHeaders(cacheHeaders, this); 3515if (_cachePolicy != null && _cookies != null && _cookies.Count != 0) { 3516_cachePolicy.SetHasSetCookieHeader();