CacheProfile 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.
Defines a set of settings which can be used for response caching.
public ref class CacheProfile
public class CacheProfile
type CacheProfile = class
Public Class CacheProfile
- Inheritance
-
CacheProfile
Constructors
CacheProfile() |
Properties
Duration |
Gets or sets the duration in seconds for which the response is cached. If this property is set to a non null value, the "max-age" in "Cache-control" header is set in the Response. |
Location |
Gets or sets the location where the data from a particular URL must be cached. If this property is set to a non null value, the "Cache-control" header is set in the Response. |
NoStore |
Gets or sets the value which determines whether the data should be stored or not.
When set to |
VaryByHeader |
Gets or sets the value for the Vary header in Response. |
VaryByQueryKeys |
Gets or sets the query keys to vary by. |