in reply to Speeding up Apache RewriteMap script.

If you can use mod_perl, a PerlTransHandler is far more flexible (and easier to write/read for me) than any mod_rewrite configuration mish-mash ever was.
  • Comment on Re: Speeding up Apache RewriteMap script.

Replies are listed 'Best First'.
Re^2: Speeding up Apache RewriteMap script.
by graq (Curate) on Apr 25, 2007 at 12:36 UTC

    I can happily accept that a custom piece of mod_perl is going to be more flexible. However, my requirements are fairly simple, and speed is the main issue.

    Are you saying writing a mod_perl handler will be a better performance boost than anything that can be done to the mapper script?

    -=( Graq )=-

      Are you saying writing a mod_perl handler will be a better performance boost than anything that can be done to the mapper script?
      Yes, I believe that to be the case, simply by looking at all the work mod_rewrite has to go through to talk to your script, compared to just executing a simple bit of code already compiled into the on-board Perl interpreter.