Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: Speeding up Apache RewriteMap script.

by graq (Curate)
on Apr 25, 2007 at 13:42 UTC ( #612010=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Speeding up Apache RewriteMap script.
in thread Speeding up Apache RewriteMap script.

Apologies for not being clear.

Apache opens the script and holds it open for its lifetime. RewriteMap writes to it (hence the while(<STDIN>){..} loop) and waits for output from STDOUT.

For every such mapping (read: every http request), the lookup method is called. I assumed that that is where the main speed up could be attained.

Although I'm not sure how moot this is with merlyn's reply in play

-=( Graq )=-

Comment on Re^4: Speeding up Apache RewriteMap script.
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-03-01 23:38 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (21 votes), past polls