micro-cacheable
micro-cacheable copied to clipboard
A micro utility for data caching
*** ☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...
Maybe it will be useful to not cache date if microFunction() throw an error actual code ``` module.exports = (ms, microFunction) => async (req, res) => { const lastCall =...
We should log more readable errors when cache-micro: - can't write - can't read - can't open a connection - can't close database
We must test all the mongo or in-memory conditional sentences and reach 100% of coverage
We already support Mongo for data horizontal cache. Redis is better when is about volatile in-memory data.