epicweb-dev / cachified

🤑 wrap virtually everything that can store by key to act as cache with ttl/max-age, stale-while-validate, parallel fetch protection and type-safety support

Repository from Github https://github.comepicweb-dev/cachifiedRepository from Github https://github.comepicweb-dev/cachified

ASK: where is cache save?

ryuxname opened this issue · comments

I don't understand the question.

Sorry, but by default, is the cache stored on the server or in the browser?

There is no default. You provide a cache implementation. It depends on that implementation.

sorry sir, but i want to know where my cache is stored. i didn't do any settings, just followed the documentation

If you're following the first example from the README and using lru-cache then your cache is stored in memory as lru-cache is an in-memory cache.

But you can use a number of different caching implementations or implement your own that store the value anywhere you like.