[squid-users] A little help with squid and e-cap

Luis Miguel Silva luismiguelferreirasilva at gmail.com
Thu Feb 12 14:40:05 UTC 2015


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 <squid3 at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150212/3d1fd8ca/attachment.html>


More information about the squid-users mailing list