Clear all cache entries
Delete a specific cache entry
Cache key
Retrieve a cached database by key
Cache key (typically includes checksum and version)
The cached entry with data and metadata, or null if not found
Check if a cache entry exists
Cache key
true if the cache entry exists
OptionallistList all cached entries (optional)
Array of cache entries with their metadata
Store a database in the cache
Cache key
Database as ArrayBuffer
Metadata about the cached database
Interface for implementing custom cache storage backends.
The library provides two implementations:
You can implement this interface to use custom storage backends (e.g., Redis, S3, or any other storage system).