0.0.1 • Published 10 years ago
uber-cache-express v0.0.1
Uber Cache Express
A connect style route caching middleware for express using Uber Cache
Usage
var expressCache = new require('uber-cache-express')
, uberCacheOptions = {}
, cache = expressCache(uberCacheOptions)
app.get('/', cache(5000), function (req, res) {
console.log('I should only be called once every 5 seconds')
res.send('Hai World')
})
0.0.1
10 years ago