Geoffrey Young wrote:


Stas Bekman wrote:

Geoffrey Young wrote:

this is kinda cool, and would eliminate some of the issues mod_perl had with the core translate handler in 1.3 (namely that it runs no matter what, wasting processing for mod_perl-only back-ends)

any reason why we don't have a PerlMapToStorageHandler?



What's wrong with doing that in PerlTransHandler?


well, from the sounds of Bill's email, map_to_storage is going to run even if you return OK from a PerlTransHandler, and it's map_to_storage that consumes the overhead of stat'ing the filesystem for static files.

but I could be misunderstanding - I haven't looked at the code yet.

I think not. That's precisely the point of:


PerlTransHandler Apache::Constants::OK

which causes map_to_storage to skip. I think it's the same in mp2.

but regardless, as with all things apache, if it exists we should probably open it up :)

If it's of any use to us, sure, otherwise, not really. IMHO, PerlTransHandler is just fine for this.



__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to