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