On Wed, 2007-09-19 at 10:24 -0700, Graham TerMarsch wrote: > I've been working on some projects needing JS minification recently and > wanted > to ping others and find out if anyone else would find it useful to have a > mod_perl2 filter that auto-minified your JS (using JavaScript::Minifier)... >
I was about to reply: why minify, doesn't mod_deflate have such a significant effect that any further processing is a waste of time? But I thought I'd test it before commenting, and I was pleasantly surprised: I tried downloading the dragdrop file from YUI (http://developer.yahoo.com/yui/), and these were my results: - no-mini, no-deflate : 100kB - mini , no-delate : 23kB - no-mini, deflate : 22kB - mini , deflate : 7kB So yes, I think this module would be very useful indeed, especially (and I haven't looked at the details) if you are able to join a number of JS source files and return them as a single request. Clint