Cache max size
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 880
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 68
Description
I think we could probably implement a max size with the sqlite backend by learning from how node impements localstorage with storage limit.
See: https://github.com/nodejs/node/blob/main/src/node_webstorage.cc#L108
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Node implementation at src/node_webstorage.cc around line 108, then locate the SQLite-backed cache entry point in undici. Determine the intended size limit and how it should be enforced; the issue does not specify tests, affected files, or acceptance criteria, so completion remains undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, sqlite
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100