Hi.

We have developed a patch for squid that enables performing ICAP
respmod only if the icap reqmod response contains a certain ICAP header
to flag that respmod is needed.

This was useful to us for increasing performance when the icap server
is responsible for content classification.
The request might be enough for classification
If the request is not enough, the HTTP response should be inspected.
This is a simple patch, I am not sure anyone needs it, but if there is
any intrest I can send it.
Version patched: squid-icap-2.5-200603162149-src.tar.gz

Regards,

Yoav Daniely, Unipier ltd