undici
undici copied to clipboard
Cache max size
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
@mcollina @metcoder95
Default is 10mb, no customizable; so I'm imagining cutomize it with a lower upper bound?
or what do you have in mind exactly?