koa-prevent-caching
TypeScript icon, indicating that this package has built-in type declarations

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

Readme

Keywords

Package Sidebar

Install

npm i koa-prevent-caching

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.14 kB

Total Files

6

Last publish

Collaborators

  • anistal
  • holidaycheck-owner
  • lo1tuma