class CacheApproximate serialized JSON byte size.
Clear all cache entries.
Dump cache contents to a JSON file for offline use.
Get a value from cache.
Returns the cached value or undefined if not found. Stale entries are still returned (background refresh handles updates).
Remove a specific entry from cache.
Load cache contents from a JSON file.
Loaded entries get a fresh TTL starting from load time.
Reset all metrics to zero.
Set a value in the cache.
Start the background refresh loop.
Stop a running sandbox (preserves sandbox files for later restart).
Clear all cache entries.
Dump cache contents to a JSON file for offline use.
Get a value from cache.
Remove a specific entry from cache.
Load cache contents from a JSON file.
Reset all metrics to zero.
Set a value in the cache.
Start the background refresh loop.
Stop a running sandbox (preserves sandbox files for later restart).