<div dir="ltr">Thanks Amos!<div><br></div><div>I understand it loads a library (probably only once) but, what about the actual ecap service object? Does it load once per page request? Or does it pre-load it every time?</div><div><br></div><div>The reason why I'm asking this is that I would like to create a ecap modifier service that reads a big list from the hard drive and, ideally, it would just keep that list in memory between page requests instead of loading it every single time.</div><div><br></div><div>Thank you,</div><div>LuisĀ <br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 1:18 AM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> - *Is each ecap_service loaded on each page load?*<br>
> -- Or does it preload a couple of ecap_services and keep using those over<br>
> and over again (just like it does with c-icap and redirect_programs?)<br>
> -- I can see each ecap module implements configure, reconfigure, start,<br>
> stop and retire methods so...it SHOULD be possible to preload the script<br>
> and just call reconfigure on each call. What does Squid do?<br>
<br>
No. Yes. Squid loads a library.<br></blockquote></div></div></div></div>