Posted by Kelvin on 06 Jun 2011 at 12:25 pm | Tagged as: Ubuntu
The squid3 deb that's available in the apt repos don't come configured with ecap support, which is required to support serving of gzip-compressed pages to clients.
In a network environment where the majority of traffic is wireless (like where I live), reducing the payload of internal network requests will have a positive impact on performance.
Follow instructions precisely at http://code.google.com/p/squid-ecap-gzip/wiki/Installation.
You should use Squid 3.1.11 and ecap 0.03 even though more recent versions are available. I tried compiling with 18.104.22.168 and ran into a bunch of make errors, where 3.1.11 compiled just fine.
The one step where I deviated from the instructions, was when configuring Squid. I used, instead, configure options which were closer to the original Ubuntu release. Here it is:
The last switch adds support for ecap.