A sample rack middleware for intercepting requests for javascript files and minifying them.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
spec
MIT-LICENSE
README

README

Rack Javascript Minifier
=========

A simple middleware that will intercept any request for javascript files, minify 
them and return them. 

This was developed as an example of implementing a rack middleware. Even though 
tested (check specs) it is not intended for production.

Check example for usage guide. You can run it with thin: 

    thin start -R config.ru