-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Squid loads ecap service only one time. When starts. 12.02.15 20:40, Luis Miguel Silva пишет: > 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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJU3MgSAAoJENNXIZxhPexGe9wH/2Bg0jT1w9mMDTDw4VZBL3BF Y1Jmhf9W5nHH/qO+Js/7CsGzR6yRP2fXgvHjA3N3jzP6zx5OaYZ5uXOOhHY8rEcY obiEpAyJAONird6g9ZHBEHR/6RDQimYtnQGaO/OefEVcRO/k1ha5gSGt776Bv1Gr MTFGL6SDPm14hEeXHGFgj7qtJp7I3VGsK4X7+zekXw8b7fqE3cN5VNeO/tFLf5xK nP+saiOtOWevshqSEJuZcySXDSKwevyGsp/5tL0LT2gFJPRw/bqNyXgl5QUn6AyC C/cY0Wcl3Vr+o74WTZPBCTajiyXkci67bUR43nlMdueEfDXtUWkr+8TNsByr33I= =4p57 -----END PGP SIGNATURE----- _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users