CacheConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.
public class CacheConfiguration
type CacheConfiguration = class
Public Class CacheConfiguration
- Inheritance
-
CacheConfiguration
Constructors
CacheConfiguration() |
Initializes a new instance of the CacheConfiguration class. |
CacheConfiguration(String, String, String, Nullable<TimeSpan>) |
Initializes a new instance of the CacheConfiguration class. |
Properties
CacheDuration |
Gets or sets the duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year |
DynamicCompression |
Gets or sets whether to use dynamic compression for cached content Possible values include: 'Enabled', 'Disabled' |
QueryParameters |
Gets or sets query parameters to include or exclude (comma separated). |
QueryParameterStripDirective |
Gets or sets treatment of URL query terms when forming the cache key. Possible values include: 'StripNone', 'StripAll', 'StripOnly', 'StripAllExcept' |