What is the best way to obfuscate / minimize dynamically generated javascript

I am looking to confuse and minimize dynamically written javascript with ruby. Anyone have any suggestions? Some kind of Apache module that intercepts a .js file and obfuscates it before it is served will be ideal.

+4
source share
1 answer

http://www.crockford.com/javascript/jsmin.rb

javascript minifier implemented in ruby.

Hope this helps ...

+2
source

All Articles