Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
/ node-genericcache Public archive

A very simple generic interface for caching stuff with switchable backends.

Notifications You must be signed in to change notification settings

voxpelli/node-genericcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic Cache

A very simple generic interface for caching stuff with switchable backends.

Example

var cache = genericCache(options.cache === 'memcached' ? genericMemcachedCache : genericMemoryCache, options.cacheOptions),
cache.get(cacheKey, function (err, result) {});
cache.set(cacheKey, result, ttl);

About

A very simple generic interface for caching stuff with switchable backends.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published