Re: Modifying the response.

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 22 Feb 2006 17:41:16 +0100

ons 2006-02-22 klockan 15:21 +0530 skrev Logu:

> I am using squid-2.5.STABLE12 in our network. I would like to modify the
> html response (ie., if Content-Type == "text/html and Content-Encoding !=
> gzip) and add few contents to it and serve it to the users. I have used
> squid as ICAP client and able to modify the content on the ICAP server. But
> we see a performace issue with this approach and the browsing becomes slow.
> I have a plan to do this just with squid code and I would like to get the
> input from the developers before doing it. Am I in the right direction? or
> is there a better way to do this?.

ICAP is actually a quite good way, but I am not 100% certain of the ICAP
client for 2.5..

To perserve response time you need to be able to start sending the
responsse immediately without waiting for the whole reply.

An alternative is the filter patches floating around.

Regards
Henrik

Received on Wed Feb 22 2006 - 09:41:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Feb 28 2006 - 12:00:05 MST