connect-nocache

connect middleware to disable caching

npm install connect-nocache
1 downloads in the last day
5 downloads in the last week
58 downloads in the last month

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.
});
npm loves you