Re: [squid-users] Configuring squid to cache and accelerate IIS site

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 02 Mar 2010 01:34:59 +0100

mån 2010-03-01 klockan 15:32 -0800 skrev Marina Mitchell:

> I have added the following directive to squid.conf
> http_port 83 defaultsite=10.10.0.28 vhost

defaultsite should be whatever you would say the default vhost of your
Squid server is, not the backend server... backend is given in
cache_peer

> forwarded_for on
> cache_peer 10.10.0.28 parent 80 0 no-query no-digest originserver
> name=IIS login=PASS

> With these I am able to redirect traffic to IIS site on the second
> workstation but the purpose is to have squid working as a caching web
> server and not redirecting traffic.
> What directives do I need to achieve this purpose?

Do the IIS server require authentication? If so then it's responses need
to include "Cache-Control: public" on any cachable responses..

Regards
Henrik
Received on Tue Mar 02 2010 - 00:35:02 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 02 2010 - 12:00:02 MST