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