Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
connect middleware to insert no cache headers
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.md
index.js
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.
});
Something went wrong with that request. Please try again.