Skip to main content

Module cache

Module cache 

Source
Expand description

Tile cache data structures: TileKey, CachedTile, TileCache, TilePrefetcher.

Implements an LRU tile cache with byte-budget eviction, staleness checking, FNV-1a ETag generation, and a prefetcher that enumerates neighboring tiles.

Structs§

CacheStats
A snapshot of TileCache statistics.
CachedTile
A tile stored in the cache together with its metadata.
TileCache
LRU tile cache with entry-count and byte-budget eviction.
TileKey
Uniquely identifies a tile by zoom level, column, row, layer name, and format.
TilePrefetcher
Pre-fetches neighboring tiles based on the current access pattern.

Enums§

TileEncoding
Content-encoding applied to the tile bytes.
TileFormat
The serialization format of a tile.