fixes
options.alias
support function | object
refresh
- support refresh cache
fixes
- [
2735fab
] - fix: remove unused require (dead-horse <dead_horse@qq.com>) - [
e12d920
] - fix: correct the time compare (dead-horse <dead_horse@qq.com>) - [
c24e6c3
] - fix: mtime (#93) (Jlin <565774991@qq.com>)
fixes
- [
dca1edf
] - fix: alias should work when preload = false (#84) (TZ | 天猪 <atian25@qq.com>)
others
- [
ba60f3d
] - deps: use ^ (dead-horse <dead_horse@qq.com>) - [
82274d0
] - deps: Update package.json bump debug and mz versions (#73) (Iain Maitland <imaitland@protonmail.com>)
- fix: only load file under options.dir (#67)
- feat: files support lru (#64)
- Update mz (#61)
- Add node.js v7.6.0 support (#58)
- Support Koa 2 (#57)
- refactor: check prefix first to avoid calculate (#56)
- feat: support options.preload (#55)
- update mz to 2.4.0
- fix: don't catch downstream error
- fix: dynamic load file bug on windows platform
- bump deps
- use mz
- Fix broken mtime comparison
- bugfix: error on dynamic files
- fix: options.prefix bug in windows, fixes #39
- Merge pull request #33 from AlexeyKhristov/gz
- fix problem, cache is not used in dynamic mode
- fix options.prefix bug in windows, fixes #36
- feat(dynamic): add dynamic option to support dynamic load
- fix(dynamic): use stat to detect folder
- fix(test): typo
- fix(buffer): keep the old logic of treat unbuffered file
- feat: add opt.buffer false to serve file not cache at all
- fix: support load file dynamic, close #30
- fix normalize bug in windows, fixes #29
- accept abnormal path, like: //index.html
- bump koa
- only response GET and HEAD
- bump compressible and mime-types
- decodeURI when use this.path as key to fetch value from files object
- replace mime by mime-types
- remove onerror and destroy, let koa hanlde these stuff
- bump fs-readdir-recursive, fixed #14
- fix bad argument handling, fixed #20
- should not return gzip buffer when accept encoding not include gzip
- add url prefix option
- support options.dir, default to process.cwd()
- add vary, check file's length when gzip
- Ensure files can be gzipped via compressible.
- add options.gzip to control gzip, support stream's gzip
- add gzip support for buffers
- update
on-socket-error
- use
yield* next