cache@3.0.0
// Simple caching object with optional TTL and file system persistence.
$ npm install cache
downloads/wk
7,524
license
ISC
version
3.0.0
published
Jun 26, 2022
What is cache?
The cache package provides a straightforward caching solution that stores data in memory with optional time-to-live (TTL) expiration and the ability to persist cached data to the file system. Developers use it to reduce computational overhead by storing frequently accessed or expensive-to-compute results, and to maintain data across application restarts through file persistence. It's useful for scenarios like caching API responses, database query results, or other data that doesn't need to be regenerated on every request.
Links
Dependencies (1)
Maintainers
sleeplessinc