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§
- Cache
Stats - A snapshot of
TileCachestatistics. - Cached
Tile - A tile stored in the cache together with its metadata.
- Tile
Cache - LRU tile cache with entry-count and byte-budget eviction.
- TileKey
- Uniquely identifies a tile by zoom level, column, row, layer name, and format.
- Tile
Prefetcher - Pre-fetches neighboring tiles based on the current access pattern.
Enums§
- Tile
Encoding - Content-encoding applied to the tile bytes.
- Tile
Format - The serialization format of a tile.