On Tue, 22 Mar 2011 22:23:36 -0300, N3O wrote:
Amos The caching layer is used as a reverse proxy layer. How do i implement the Via:header or X-Client headers thing? Or how do i check those headers being sent to the client??
Squid does Via: by default. Unless you have added "via off" in the config, or in otherways stripping it out.
The X-* headers are sent by default on most Squid, newer ones in testing don't send to the client on reverse-proxy but do on other traffic.
You can see the headers in any modern browser using its dev tools (firebug plugin in firefox, native tools in netkit browsers, an SDK plugin to IE 7+ IIRC).
Or by using the squidclient tool to make a request through your Squid: squidclient -h $squidip -j $domain -p 80 /url/path.html Amos