connect middleware to insert no cache headers
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
index.js Added all required properties Aug 23, 2014
package.json

README.md

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