note
graq
<p>Apologies for not being clear.</p>
<p>Apache opens the script and holds it open for its lifetime. <c>RewriteMap</c> writes to it (hence the <c>while(<STDIN>){..}</c> loop) and waits for output from STDOUT.</p>
<p>For every such mapping (read: every http request), the <c>lookup</c> method is called. I assumed that that is where the main speed up could be attained.</p>
<p>Although I'm not sure how moot this is with [merlyn]'s [611988|reply] in play</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-79379">
<p>-=( <a href="http://www.graq.co.uk">Graq</a> )=-
</div></div>
611968
612001