perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <j...@chamas.com>
Subject Re: Load.pm patch
Date Fri, 16 Jul 2004 19:32:44 GMT
Quoting Thanos Chatziathanassiou <tchatzi@arx.gr>:

> Hi list.
>
> Since I'm using Apache::ASP::Loader to precompile scripts and doing so
> via NFS, it kind of took a long time.
> Most of it was spent not compiling scipts, but traversing files and
> directories which is still painfully slow on NFS.
> Since a few of them contained about 2500 images, there should be no need
> for Loader to look into them, so I added an argument to Loader
> ``Ommit_Dirs'' whose value should be a reference to an array containing
> dirs the compiler should ommit.
>
> I think it is reasonably useful and I *suppose* I haven't messed up, but
> please look into it if you're interested.
>

It does seem useful.  My work around before has been to programmatically call
Apache::ASP->Load on only the directories that I want to be read fully.  Can
this approach work for you without adding this config?  Otherwise let me
consider your patch when I get back from vacation.  I would think another name
like ExcludeDirs might be better, but I'll check it out for another possible
solution as well.

Regards,

Josh


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message