serve-static-with-cache
v1.0.2
Published
Serve static files+cache
Readme
serve-static-with-cache
This is a fork of expressjs/serve-static. Adds caching files in memory. Also compresses files before caching.
Install
Installation is done using the
npm install command:
$ npm install serve-static-with-cachevar cachedServeStatic = require('serve-static-with-cache');
express.use(cachedServeStatic("path/to/static/files/root"));