RouterSourceDict Class
The cache source of a RouterRule (https://w3c.github.io/ServiceWorker/#dictdef-routersourcedict).
public sealed class RouterSourceDictConstructors
| Name | Description |
|---|---|
| RouterSourceDict() |
RouterSourceDict()
public RouterSourceDict()No documentation is available.
Properties
| Name | Description |
|---|---|
| CacheName | Gets the name of the cache whose response is used, or null to look up every cache (as the cache source). |
CacheName
ServiceWorkerRouter.csGets the name of the cache whose response is used, or null to look up every cache (as the cache source).
public string? CacheName { get; init; }