Skip to content

holidaycheck/koa-prevent-caching

Repository files navigation

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

About

Set appropriate response headers to prevent caching.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors