drecom / drecom/idb-cache

Add "has" method

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I want to check if a resource has already been cached. Maybe we can have a `has` method or a `getMeta` method that only returns the metadata without the binary file? Also, we need a method to refresh a cache i.e. to update the `expire` tag of the resource.

Other questions:

1. What will happen when the `size` limit is reached?
2. What will happen when the `count` limit is reached?
3. Is it possible to use unlimited `size` and `count`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.