serve-static-with-cache

1.0.2 • Public • Published

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

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i serve-static-with-cache

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • satuevsky