Hi,

Sorry for the duplicate mail but the formatting of the previous one looked too 
bad.

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 10.0.0.9 TCP_MEM_HIT/200 315485 GET 
http://192.168.0.12/poems.html - HIER_NONE/- text/html

Also, here is how my squid configuration looks like:

icap_enable on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Client-Username
icap_service service_req_14 reqmod_precache bypass=on 
icap://127.0.0.1:1344/request_check
adaptation_access service_req_14 allow all
icap_service service_resp_14 respmod_precache bypass=off 
icap://127.0.0.1:1344/response_check
adaptation_access service_resp_14 allow all

Thanks,
Giray

                                          
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to