Never-ending Pumpkin Mulch
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

Keywords

install

npm i connect-nocache

Downloadsweekly downloads

3,654

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability