9 references to SetExpires
System.ServiceModel.Web (1)
System\ServiceModel\Web\CachingParameterInspector.cs (1)
311
cache.
SetExpires
(HttpContext.Current.Timestamp.AddSeconds((double)this.cacheProfile.Duration));
System.Web (6)
Abstractions\HttpCachePolicyWrapper.cs (1)
68
_httpCachePolicy.
SetExpires
(date);
Handlers\AssemblyResourceLoader.cs (1)
640
cachePolicy.
SetExpires
(DateTime.Now + TimeSpan.FromDays(365));
HttpResponse.cs (2)
3138
Cache.
SetExpires
(_context.Timestamp + new TimeSpan(0, _expiresInMinutes, 0));
3158
Cache.
SetExpires
(_expiresAbsolute);
StaticFileHandler.cs (1)
559
response.Cache.
SetExpires
(utcNow.AddDays(1));
UI\Page.cs (1)
3703
cache.
SetExpires
(Context.Timestamp.AddSeconds(duration));
System.Web.Extensions (2)
Script\Services\RestHandler.cs (1)
66
context.Response.Cache.
SetExpires
(DateTime.Now.AddSeconds(cacheDuration));
Script\Services\WebServiceClientProxyGenerator.cs (1)
63
cachePolicy.
SetExpires
(lastModifiedDate.AddYears(-1));