koa-prevent-caching
v1.0.2
Published
Set appropriate response headers to prevent caching.
Downloads
10
Readme
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);