Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-11-27 13:37 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls