file-server - file serving middleware for koa

  •        0

[![NPM version][npm-image]][npm-url][![build status][travis-image]][travis-url][![Test coverage][coveralls-image]][coveralls-url][![Gittip][gittip-image]][gittip-url]An opinionated file server. Designed to sit behind a CDN.- `sha256` etags and consequential 304s- Caches `fs.stat()` calls- Caches etag calculations- OPTIONS and 405 support- `index.html` files- Optionally serve hidden files- Caches gzipped versions of files- SPDY Push supportDoes not support:- Dynamic files - assumes static files never change. You will have to delete files from the cache yourself if files change.- Directory listing- Path decoding



comments powered by Disqus

Related Projects