Skip to content

yezigl/nodejs-combo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Combine JavaScript & CSS files by Combo.js in Node.js.

The Combo URL Format is:
http://yourcdn.com/example/hello.js
http://yourcdn.com/example/fun.js
http://yourcdn.com/combo=example/hello.js
http://yourcdn.com/combo=example/hello.js&example/fun.js

0.1.0
1. Make sure the combo url format. Combine the files by the combo url.
2. Throw friendly error, if some file isn't exist. Return error info, so the developer will know it at once.
3. Set HTTP Header Cache Time 10 years.  

0.2.0
1. Cache exist files.
2. Hide the favicon.ico.

0.3.0
Think about 304.
...

1.0.0
run online.

About

Combine JavaScript & CSS files by Combo.js in Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published