Open
Description
I was wondering what the most efficient way is to clear cache bases.
I was looking at this bit of code, where you're clearing a base 100 keys at a time
I've been trying to make unstorage's clear()
method work , but with no luck (which is probably why nuxthub uses batches of 100 keys).
I have two questions related to this:
- Why doesnt the clear method work?
- What if a want to invalidate thousands of keys at a time? I would likely run into these limits: https://arc.net/l/quote/omawzasz