connect-nocache

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i connect-nocache

Weekly Downloads

1,458

Version

1.1.0

License

MIT

Last publish

Collaborators

  • superjoe