ImageResizer
3.4.0
|
Allows customization of response headers for a processed image, as well as configuration of the caching system. More...
Properties | |
string | ContentType [get, set] |
The mime-type of the output data. Defaults to null. More... | |
HttpCacheability | CacheControl [get, set] |
The cache setting. Defaults to ServerAndPrivate More... | |
DateTime | Expires [get, set] |
The UTC time at which the cached data should expire. Browsers generally don't re-request resources until the they have expired (unlike modififeddate). If MinValue, will be ignored. More... | |
DateTime | LastModified [get, set] |
The UTC modified date send with the response. Used by browsers with If-Modified-Since to check a cached value is still valid. If = MinValue, will be ignored. More... | |
bool | ValidUntilExpires [get, set] |
When true: If a client requests a refresh, the response will still be served from the server cache. Defaults to false More... | |
bool | SuppressVaryHeader [get, set] |
ASP.Net sometimes sends Vary: * which obliterates caching. Vary is to be avoided anyhow. Defaults to true More... | |
NameValueCollection | DefaultHeaders [get, set] |
These headers should be applied first, prior to the application of other settings More... | |
NameValueCollection | Headers [get, set] |
These headers are applied after applying all of the other settings. (and they will overwrite exisiting values). More... | |
List< CacheDependency > | ServerCacheDependencies [get, set] |
Returns a collection of dependencies used for invalidating the server cache. Note, having items here will disable kernel-mode caching. Perhaps it is better to simply use LastModified More... | |
ApplyResponseHeadersDelegate | ApplyToResponse [get, set] |
A delegate method to apply the values stored in IResponseHeaders to the specified HttpContext. More... | |
bool | ApplyDuringPreSendRequestHeaders [get, set] |
True if the application should automatically execute ApplyToResponse() during the PreSendRequestHeaders event. More... | |
Allows customization of response headers for a processed image, as well as configuration of the caching system.
Definition at line 15 of file IResponseHeaders.cs.
|
getset |
True if the application should automatically execute ApplyToResponse() during the PreSendRequestHeaders event.
Definition at line 69 of file IResponseHeaders.cs.
Referenced by ImageResizer.InterceptModule.context_PreSendRequestHeaders().
|
getset |
A delegate method to apply the values stored in IResponseHeaders to the specified HttpContext.
Definition at line 65 of file IResponseHeaders.cs.
|
getset |
The cache setting. Defaults to ServerAndPrivate
Definition at line 23 of file IResponseHeaders.cs.
|
getset |
The mime-type of the output data. Defaults to null.
Definition at line 19 of file IResponseHeaders.cs.
|
getset |
These headers should be applied first, prior to the application of other settings
Definition at line 49 of file IResponseHeaders.cs.
|
getset |
The UTC time at which the cached data should expire. Browsers generally don't re-request resources until the they have expired (unlike modififeddate). If MinValue, will be ignored.
Definition at line 29 of file IResponseHeaders.cs.
|
getset |
These headers are applied after applying all of the other settings. (and they will overwrite exisiting values).
Definition at line 53 of file IResponseHeaders.cs.
|
getset |
The UTC modified date send with the response. Used by browsers with If-Modified-Since to check a cached value is still valid. If = MinValue, will be ignored.
Definition at line 34 of file IResponseHeaders.cs.
|
getset |
Returns a collection of dependencies used for invalidating the server cache. Note, having items here will disable kernel-mode caching. Perhaps it is better to simply use LastModified
Definition at line 60 of file IResponseHeaders.cs.
|
getset |
ASP.Net sometimes sends Vary: * which obliterates caching. Vary is to be avoided anyhow. Defaults to true
Definition at line 44 of file IResponseHeaders.cs.
|
getset |
When true: If a client requests a refresh, the response will still be served from the server cache. Defaults to false
Definition at line 39 of file IResponseHeaders.cs.