Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A sample rack middleware for intercepting requests for javascript files and minifying them.
Ruby JavaScript
tree: 956174165b

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.