CacheConfiguration Constructors
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.
Overloads
CacheConfiguration() |
Initializes a new instance of the CacheConfiguration class. |
CacheConfiguration(String, String, String, Nullable<TimeSpan>) |
Initializes a new instance of the CacheConfiguration class. |
CacheConfiguration()
Initializes a new instance of the CacheConfiguration class.
public CacheConfiguration ();
Public Sub New ()
Applies to
CacheConfiguration(String, String, String, Nullable<TimeSpan>)
Initializes a new instance of the CacheConfiguration class.
public CacheConfiguration (string queryParameterStripDirective = default, string queryParameters = default, string dynamicCompression = default, TimeSpan? cacheDuration = default);
new Microsoft.Azure.Management.FrontDoor.Models.CacheConfiguration : string * string * string * Nullable<TimeSpan> -> Microsoft.Azure.Management.FrontDoor.Models.CacheConfiguration
Public Sub New (Optional queryParameterStripDirective As String = Nothing, Optional queryParameters As String = Nothing, Optional dynamicCompression As String = Nothing, Optional cacheDuration As Nullable(Of TimeSpan) = Nothing)
Parameters
- queryParameterStripDirective
- String
Treatment of URL query terms when forming the cache key. Possible values include: 'StripNone', 'StripAll', 'StripOnly', 'StripAllExcept'
- queryParameters
- String
query parameters to include or exclude (comma separated).
- dynamicCompression
- String
Whether to use dynamic compression for cached content Possible values include: 'Enabled', 'Disabled'
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