[squid-users] missing icap respmod request when the web object is found in the cache?

Giray Simsek giray_simsek at hotmail.com
Mon Nov 30 16:53:22 UTC 2015

Hi,I am using squid + c-icap for content adaptation.I noticed that when squid is able to find the requested html page in its cache, it does the following;1) It does not send an http get request to the external web server since the html is already in the cache. I think this makes sense.2) It does NOT send an icap RESPMOD request to the Icap server. I was expecting it to still send the icap request to the icap server in this case.Is there a way to tell squid to send the Respmod request to the icap server in the case when the requested html page is found in the cache?By the way, I am verifying that the object is found in the cache since I see the following line in squid's access.log:1448901021.850     96 TCP_MEM_HIT/200 315485 GET - HIER_NONE/- text/htmlAlso, here is how my squid configuration looks like:icap_enable onicap_send_client_ip onicap_send_client_username onicap_client_username_header X-Client-Usernameicap_service service_req_14 reqmod_precache bypass=on icap:// service_req_14 allow allicap_service service_resp_14 respmod_precache bypass=off icap:// service_resp_14 allow allThanks,Giray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151130/03e85feb/attachment.html>

More information about the squid-users mailing list