On Wednesday 19 September 2007 10:51 am, John Saylor wrote: > > -----Original Message----- > > From: Graham TerMarsch [mailto:[EMAIL PROTECTED] > > > > [deletions] > > > > 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'm not so familiar with how the minifiers work, but in javascript, if > it changes function or object names, and the HTML references those- > you'd be SOL- right? and similarily with css class names and ids?
You're right, we would be SOL. JavaScript::Minifier and CSS::Minifier don't change those, though; they're minifiers, not obfuscators. You'll find more info on what they do over in their listings on CPAN: http://search.cpan.org/dist/JavaScript-Minifier http://search.cpan.org/dist/CSS-Minifier -- Graham TerMarsch