uber-cache-express
A connect style route caching middleware for express using uber-cache
Last updated 7 years ago by confuser .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install uber-cache-express 
SYNC missed versions from official npm registry.

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')
})

Current Tags

  • 0.0.1                                ...           latest (7 years ago)

1 Versions

  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (7)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |