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.
});
-
Notifications
You must be signed in to change notification settings - Fork 4
connect middleware to insert no cache headers
License
andrewrk/connect-nocache
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
connect middleware to insert no cache headers
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published