Javascript Packer

The spree javascript packer packs all *.js files to one file and compresses this file by renaming variables and removing whitespaces. This way we avoid having HTTP-Request for each *.js file and the compression decreases the file_size by about 40%.

The javascript packer is a python file which refers to mozilla's rhino library for compression (needs java installed). See "spree/jobs/" for details.

All javascript packing is automatically done each time the cherrypy server starts in development mode.