Enum PrefetchStrategy
Enumeration defining different strategies for asset prefetching.
Determines when and how assets are loaded into the cache.
Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
Assembly: Serenity.AssetPrefetcher.Domain.dll
Syntax
public enum PrefetchStrategy
Fields
| Name | Description |
|---|---|
| OnDemand | Load assets only when explicitly requested, no predictive loading. |
| PrewarmAll | Preload all assets upfront during initialization for maximum performance. |
| SlidingWindow | Load assets in a sliding window based on current context or proximity. |