Class ResolvedValueCache

A cache for parts of a PMTiles archive where promises are never shared between requests.

Runtimes such as Cloudflare Workers cannot share promises between different requests.

Only caches headers and directories, not individual tile contents.

Constructors

Properties

cache: Map<string, ResolvedValue>
counter: number
decompress: DecompressFunc
maxCacheEntries: number

Methods

  • Parameters

    Returns Promise<ArrayBuffer>

  • Parameters

    Returns Promise<Entry[]>

  • Parameters

    Returns Promise<void>

Generated using TypeDoc