Thanks Amos!

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?

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.

Thank you,
Luis

On Thu, Feb 12, 2015 at 1:18 AM, Amos Jeffries <squ...@treenet.co.nz> wrote:

> > - *Is each ecap_service loaded on each page load?*
> > -- Or does it preload a couple of ecap_services and keep using those over
> > and over again (just like it does with c-icap and redirect_programs?)
> > -- I can see each ecap module implements configure, reconfigure, start,
> > stop and retire methods so...it SHOULD be possible to preload the script
> > and just call reconfigure on each call. What does Squid do?
>
> No. Yes. Squid loads a library.
>
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to