[squid-users] confused about ICAP and who's downloading what

Amos Jeffries squid3 at treenet.co.nz
Mon Jun 22 10:16:45 UTC 2015


On 22/06/2015 7:24 p.m., Jason Haar wrote:
> On 21/06/15 10:45, Antony Stone wrote:
>> The former - squid does the download and passes the content to ICAP.
> 
> Great. So squid does all the network calls and ICAP simply gets to
> review the content (request and/or response) and potentially change it.
> Perfect :-)

Not quite. ICAP is a network service. So the ICAP server still has to do
all the parsing parts for both ICAP and HTTP, then the payload as well.

If you just want data passed to your code, go with eCAP module. Squid
loads it as a library and passes pre-parsed HTTP data through the eCAP
API to it. Then the only parsing necessary is the payload format(s).

Amos



More information about the squid-users mailing list