RFC: Apache2::Filter::Minifier::JavaScript

2007-09-19 Thread Graham TerMarsch
o means that I could turn the filter off during testing and be able to work with the un-minified JS. Also thinking that an Apache2::Filter::Minifier::CSS module would be possible using CSS::Minifier; basically same thing but for CSS instead. -- Graham TerMarsch

Re: RFC: Apache2::Filter::Minifier::JavaScript

2007-09-19 Thread Graham TerMarsch
'd initially thought of using the "r->finfo->inode()" as a cache key, but I don't think that's there if I'm being handed dynamically generated JS. -- Graham TerMarsch

Re: Apache2::Filter::Minifier::JavaScript

2007-09-19 Thread Graham TerMarsch
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 > > wa

Re: RFC: Apache2::Filter::Minifier::JavaScript

2007-09-20 Thread Graham TerMarsch
On Thursday 20 September 2007 12:10 am, Philippe M. Chiasson wrote: > 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

Re: RFC: Apache2::Filter::Minifier::JavaScript

2007-09-20 Thread Graham TerMarsch
On Thursday 20 September 2007 6:45 am, Geoffrey Young wrote: > 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

ANNOUNCE: Apache2-Filter-Minifier-JavaScript

2007-09-20 Thread Graham TerMarsch
so caching is recommended (a mod_cache sample is included in the docs). Many thanks to Geoffrey Young for his work on Apache::Clean, from which I, uh, borrowed several things. Also thanks to Peter Michaux for JavaScript::Minifier. Feedback/comments appreciated. -- Graham TerMarsch Howling Fro

ANNOUNCE: Apache2-Filter-Minifier-CSS

2007-09-20 Thread Graham TerMarsch
::Clean, from which I, uh, borrowed several things. Also thanks to Peter Michaux for CSS::Minifier. Feedback/comments appreciated. -- Graham TerMarsch Howling Frog Internet Development, Inc.

ANNOUNCE: Apache2-Filter-Minifier-JavaScript 1.01

2007-09-21 Thread Graham TerMarsch
: 5292 bytes md5: 89a602f7fe3bb38b93cb5efa76cf16f2 --- -- Graham TerMarsch Howling Frog Internet Development, Inc.

ANNOUNCE: Apache2-Filter-Minifier-CSS 1.01

2007-09-21 Thread Graham TerMarsch
md5: 352c87cb061a3d607d3850eb9464b811 --- -- Graham TerMarsch Howling Frog Internet Development, Inc.

Q: Build.PL/Makefile.PL, and CPAN testers...

2007-09-26 Thread Graham TerMarsch
;WriteMakefile : \&ModPerl::MM::WriteMakefile; $mm->( ... 'PREREQ_PM' => { 'Apache::Test' => 1.12, 'mod_perl2' => 2.0, ... }, ); -- Graham TerMarsch

Re: Q: Build.PL/Makefile.PL, and CPAN testers...

2007-09-26 Thread Graham TerMarsch
their business, but for automated testbots this should work a bit better. -- Now... before I package this all up and roll a new release of this stuff, does anyone see any problems with the above and how its handling results in the various scenarios? -- Graham TerMarsch

Re: Q: Build.PL/Makefile.PL, and CPAN testers...

2007-09-27 Thread Graham TerMarsch
On Wednesday 26 September 2007 9:58 am, Graham TerMarsch wrote: > After recently releasing Apache2::Filter::Minifier::JavaScript/CSS, I saw > several failed CPAN testers reports, generally due to the tester not having > the required modules on their machine. > > Now, admittedly t

ANNOUNCE: Apache2-Filter-Minifier-CSS/JavaScript 1.03

2007-09-28 Thread Graham TerMarsch
erly. Its not pretty, but it works. I'm told that one day CPAN(PLUS) et al. will support a "configure_requires" directive in META.yml that'll take care of this for us, but until that happens its something we've got to watch out for ourselves. -- Graham TerMarsch Howling Frog Internet Development, Inc.

Re: Javascript minifier

2007-10-15 Thread Graham TerMarsch
ugh it should work globally (as the internal MIME-Type detection restricts it to only JS files), you'll probably find things running faster if you only enable it for specific parts of your site. E.g. PerlOutputFilterHandler Apache2::Filter::Minifier::JavaScript That way we'

ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-16 Thread Graham TerMarsch
rs/Apache2-Filter-Minifier-JavaScript-1.04_01/ -- Any/all feedback is appreciated; its been a while since I wrote anything using XS and I'd like to make sure that it builds/compiles properly for people. -- Graham TerMarsch Howling Frog Internet Development, Inc.

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Graham TerMarsch
n't have to build any of it, and (b) it'd let me focus the minifying filters on doing one thing and one thing only (minifying the JS/CSS). -- Graham TerMarsch

Re: Best practices for returning 404/file-not-found pages inside and outside of mod_perl

2008-05-02 Thread Graham TerMarsch
e that exported the value, and which assigned it in its "import()" method. Gave me something like: use FindMe qw($ME); use lib $ME.'/../config'; use lib $ME.'/../perllib'; and that worked fine. The "import()" routine gets called and sets the value before its used in the following lines. Now... why the BEGIN block doesn't do it, I've no idea and didn't poke too much farther into it to figure out why. -- Graham TerMarsch Howling Frog Internet Development, Inc.

Re: Skip or minimise Apache log phase

2008-10-08 Thread Graham TerMarsch
thing I've used it for is to ignore logging of requests for images. -- Graham TerMarsch Howling Frog Internet Development, Inc.