Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Speeding up Apache RewriteMap script.

by merlyn (Sage)
on Apr 25, 2007 at 11:13 UTC ( [id://611969]=note: print w/replies, xml ) Need Help??


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.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://611969]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-29 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found