Class DynamicCacheBusting
Provides cache-busting capabilities on a duration based interval. This class cannot be inherited.
Namespace: Cuemon.AspNetCore.Mvc.Configuration
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public sealed class DynamicCacheBusting : CacheBusting, ICacheBusting, IConfigurable<DynamicCacheBustingOptions>
Constructors
| Improve this DocDynamicCacheBusting(IOptions<DynamicCacheBustingOptions>)
Initializes a new instance of the DynamicCacheBusting class.
Declaration
public DynamicCacheBusting(IOptions<DynamicCacheBustingOptions> setup)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<DynamicCacheBustingOptions> | setup | The DynamicCacheBustingOptions which need to be configured. |
Properties
| Improve this DocOptions
Gets the configured options of this instance.
Declaration
public DynamicCacheBustingOptions Options { get; }
Property Value
Type | Description |
---|---|
DynamicCacheBustingOptions | The configured options of this instance. |
UtcChanged
Gets the UTC timestamp from when the Version was last changed.
Declaration
public DateTime UtcChanged { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The UTC timestamp from when the Version was last changed. |
Version
Gets the version to be a part of the link you need cache-busting compatible.
Declaration
public override string Version { get; }
Property Value
Type | Description |
---|---|
System.String | The version to be a part of the link you need cache-busting compatible. |