Skip to content

Commit

Permalink
docs(README): add description about cache (#107)
Browse files Browse the repository at this point in the history
* docs(README): add description about cache

The feature is introduced in hexojs/hexo#3963

* docs(README): update cache description
  • Loading branch information
SukkaW authored Dec 23, 2019
1 parent d18579f commit 0c02810
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ server:
log: false
ip: 0.0.0.0
compress: false
cache: false
header: true
serveStatic:
extensions:
Expand All @@ -45,6 +46,9 @@ server:
- **log**: Display request info on the console. Always enabled in debug mode.
- **ip**: Server IP
- **compress**: Enable GZIP compression
- **cache**: Enable cache for rendered content
- This can speed up server response. However, any changes will no longer take effect in real time.
- Suitable for production environment only.
- **header**: Add `X-Powered-By: Hexo` header
- **serveStatic**: Extra options passed to [serve-static](https://github.com/expressjs/serve-static#options)

Expand Down

0 comments on commit 0c02810

Please sign in to comment.