Skip to content

better all-in-one nodejs/expressjs static-file-handler with varcache of filecontent, compression (gzip, deflate), content-length-header (optional)

Notifications You must be signed in to change notification settings

Sebush/express-super-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

express-super-static

installation

edit package.json and add this to the dependencies-object

"express-super-static": "git@github.com:Sebush/express-super-static.git",

usage

app.use(require('express-super-static')({
    dir: __dirname+'/public',
    maxAge: 300
}));

About

better all-in-one nodejs/expressjs static-file-handler with varcache of filecontent, compression (gzip, deflate), content-length-header (optional)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published