Table of Contents

Class SKDiskTileCacheStore

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Persistent tile cache backed by the local filesystem. Uses URL-derived hash keys, bucketed directories, and configurable expiry.

public sealed class SKDiskTileCacheStore : ISKTileCacheStore, IDisposable
Inheritance
SKDiskTileCacheStore
Implements
Inherited Members

Constructors

SKDiskTileCacheStore(string, TimeSpan?)

Creates a disk-backed cache store.

Fields

DefaultExpiry

Default cache expiry (30 days).

Methods

ClearAsync(CancellationToken)

Clears all cached entries.

Dispose()
RemoveAsync(string, CancellationToken)

Removes a specific cache entry.

SetAsync(string, SKImagePyramidTileData, CancellationToken)

Stores tile data. Implementations should be safe to call fire-and-forget.

TryGetAsync(string, CancellationToken)

Returns cached tile data, or null on a miss or expiry.