Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 musing on the Monastery: (5)
As of 2015-01-27 07:23 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (197 votes), past polls