koa-incache
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -7,3 +7,6 @@ # Change Log | ||
## [0.1.1] - 2017-08-20 | ||
- Fixed readme | ||
## [0.1.0] - 2017-08-20 | ||
- First release |
{ | ||
"name": "koa-incache", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Koa cache middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -48,3 +48,5 @@ <div align="center"> | ||
app.use(cache()); | ||
app.use(cache({ | ||
life: 60 // 1 minute max age | ||
})); | ||
@@ -51,0 +53,0 @@ router.get('/this/is/cached', function (ctx, next) { |
Sorry, the diff of this file is not supported yet
41614
89