cacherjs
JS TTL Cache Mechanism
JS TTL Cache Mechanism
A simple interface cacher based on ioredis.
Expirable cache
A simple interface cacher based on ioredis
a data caching tool
A pluggable backend for Cacher that uses nedb
- supports multiple transports (mongodb, redis, fs)
Simple abstraction level for caching data in Redis
Caches data in a predetermined range.
Serve images from localStorage – great for offline apps.
The command line interface to Cacher.
An API caching module for preserving API results for later
说明:以给异步函数结果缓存 例子:executor为一个返回promise的函数 ### 使用方式: const Cacher = require('redis-cacher-fg');
使用方式: const RedisCacher = require('redis-cacher-fg'); const cache = RedisCacher() const payload = { key: 'cacheKey', executor: cacheFuc.bind(null, 1), expire: 100 };
Cacher is a node module used for caching object into json files.
express caching middlware
A simple interface cacher based on ioredis
Wrapper for cache clients for more resilient operations
minimalistic and easy-to-use cache manipulator
Memora: A lightweight, TTL-based JavaScript caching library. It efficiently memoizes function outputs, supporting multiple storage options like memory and localStorage for optimized performance.