ismga-outputcache

Cache api responses, react and more using redis, memcached or any other cache provider.

Usage no npm install needed!

<script type="module">
  import ismgaOutputcache from 'https://cdn.skypack.dev/ismga-outputcache';
</script>

README

FORKED from mpfdavis/outputcache

With added supports for CORS

The only difference from outputcache is that ismga-outputcache uses the origin header from request in the cache key, if available.


Version

Installation

npm install ismga-outputcache --save

Initialize

const OutputCache = require('ismga-outputcache');
const xoc = new OutputCache({options}); //see api below