Class StaticFileCacheControlAttribute
Specify the cache-control value for static file pattern.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public class StaticFileCacheControlAttribute : Attribute
- Inheritance
-
objectAttributeStaticFileCacheControlAttribute
Constructors
StaticFileCacheControlAttribute(string, string)
public StaticFileCacheControlAttribute(string filePattern, string cacheControl)
Parameters
Fields
CacheControl
public string CacheControl
Field Value
FilePattern
public string FilePattern