perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham TerMarsch <modp...@howlingfrog.com>
Subject Re: Apache2::Filter::Minifier::JavaScript
Date Wed, 19 Sep 2007 17:53:42 GMT
On Wednesday 19 September 2007 10:51 am, John Saylor wrote:
> > -----Original Message-----
> > From: Graham TerMarsch [mailto:modperl@howlingfrog.com]
> >
> > [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

Mime
View raw message