connect-nocache

connect middleware to insert no cache headers

MIT License

Downloads
3.8K
Stars
11
Committers
2

Usage:

var noCache = require('connect-nocache')();
var express = require('express')

var app = express()
app.get('/events', noCache, function (req, res) {
  // res has no cache headers set.
});