Cache Packages

lock_and_cache

Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?

6.0.0-beta.5 • Published 5 years ago

lru-ram

Calculate the size of your LRU cache in bytes

1.1.3 • Published 6 years ago