Extract lastmodified from handler.
Catch 304's early.
Create CachingMiddleware for zipping and caching.
Use Yajsml to combine files.
Minify only constructs individual files and optionally compresses them with UglifyJS.
Support GET and HEAD.
Inline response generation.
Minify serves the require kernel.
Last modification is more specific (when possible).
Allow maxAge of server to be specified in a setting.
Extract file existance check.
Minify specifies maxAge.
Use the correct expression.
Do not allow relative paths.
Combine existense and date checks.
Only add date if date exists.
Only gzip text files.
It is not very productive to compress images so compress text only.
Drop all packaging logic from minify.
Minify serves all static assets.
Add some comments.
Provide a better last modified date for require-kernel.
Use cache for minified assets.
It is ok if the directory doesn't exist.