Get unlimited public & private packages + team-based management with npm Teams.Learn more »

koa-prevent-caching

1.0.2 • Public • Published

koa-prevent-middleware

A middleware for koa to set appropriate response headers that prevent clients from caching the response.

Usage

const Koa = require('koa');
const preventCaching = require('koa-prevent-caching');
 
var app = new Koa();
app.use(preventCaching);

Install

npm i koa-prevent-caching

DownloadsWeekly Downloads

136

Version

1.0.2

License

MIT

Unpacked Size

3.14 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar