thing I've used it for is to ignore logging of requests for
images.
--
Graham TerMarsch
Howling Frog Internet Development, Inc.
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.
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
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.
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'
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.
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
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
;WriteMakefile : \&ModPerl::MM::WriteMakefile;
$mm->(
...
'PREREQ_PM' => {
'Apache::Test' => 1.12,
'mod_perl2' => 2.0,
...
},
);
--
Graham TerMarsch
: 5292 bytes
md5: 89a602f7fe3bb38b93cb5efa76cf16f2
---
--
Graham TerMarsch
Howling Frog Internet Development, Inc.
md5: 352c87cb061a3d607d3850eb9464b811
---
--
Graham TerMarsch
Howling Frog Internet Development, Inc.
::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.
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
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
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
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
'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
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
18 matches
Mail list logo