Skip to content

yuexihuachen/mango-cache-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mango-cache-control

通用消息头,缓存机制

install


$ npm i -D mango-cache-control

Usage


创建一个 cache-control middleware

app.use(cacheControl({
    maxAge:100
}));

About

通用消息头,缓存机制

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published