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-cache
var cachedServeStatic = require('serve-static-with-cache');
express.use(cachedServeStatic("path/to/static/files/root"));