changelogs.md


koajs/static-cache

Repository  -  API  -  Source

5.1.2

February 6, 2018

others

5.1.1

June 13, 2017
  • fix: only load file under options.dir (#67)

5.1.0

June 1, 2017
  • feat: files support lru (#64)
    • Update mz (#61)

5.0.1

April 19, 2017
  • Add node.js v7.6.0 support (#58)

5.0.0

April 1, 2017
  • Support Koa 2 (#57)

4.0.0

February 21, 2017
  • refactor: check prefix first to avoid calculate (#56)

3.2.0

January 7, 2017
  • feat: support options.preload (#55)

3.1.7

April 7, 2016
  • update mz to 2.4.0

3.1.6

March 22, 2016
  • fix: don't catch downstream error

3.1.5

March 2, 2016
  • fix: dynamic load file bug on windows platform

3.1.4

January 4, 2016
  • bump deps
    • use mz

3.1.3

November 26, 2015
  • Fix broken mtime comparison

3.1.2

July 8, 2015
  • bugfix: error on dynamic files

3.1.1

April 17, 2015
  • fix: options.prefix bug in windows, fixes #39

3.1.0

March 28, 2015
  • Merge pull request #33 from AlexeyKhristov/gz

3.0.3

March 28, 2015
  • fix problem, cache is not used in dynamic mode

3.0.2

March 18, 2015
  • fix options.prefix bug in windows, fixes #36

3.0.1

January 6, 2015
  • feat(dynamic): add dynamic option to support dynamic load
    • fix(dynamic): use stat to detect folder

3.0.0

January 6, 2015
  • 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

2.0.2

January 5, 2015
  • fix normalize bug in windows, fixes #29

2.0.1

December 2, 2014
  • accept abnormal path, like: //index.html

2.0.0

November 14, 2014
  • bump koa
    • only response GET and HEAD

1.2.0

September 18, 2014
  • bump compressible and mime-types
    • decodeURI when use this.path as key to fetch value from files object

1.1.0

July 16, 2014
  • replace mime by mime-types
    • remove onerror and destroy, let koa hanlde these stuff

1.0.10

May 18, 2014
  • bump fs-readdir-recursive, fixed #14
    • fix bad argument handling, fixed #20
    • should not return gzip buffer when accept encoding not include gzip

1.0.9

March 31, 2014
  • add url prefix option

1.0.8

March 31, 2014
  • support options.dir, default to process.cwd()
    • add vary, check file's length when gzip
    • Ensure files can be gzipped via compressible.

1.0.7

March 26, 2014
  • add options.gzip to control gzip, support stream's gzip
    • add gzip support for buffers

1.0.3

January 14, 2014
  • update on-socket-error

1.0.0

December 21, 2013
  • use yield* next