Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 212 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 212 Bytes

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