1.0.2 • Published 7 years ago

serve-static-with-cache v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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"));