First, I am not sure if Varnish can be used as web-cache to speedup internet in small offices.
We have an office with 20 systems around and we frequently browse same set of websites.
I setup squid and it worked fine for sometime. But I couldn't get to cache youtube videos which was my main aim.
I came recently across Varnish while playing with nginx but I see it is being used as web-accelerator for backend server.
Can we use Varnish instead of nginx for web-cache in transparent way? I mean to say that people in my office will not need to configure proxy on their machine.
Thanks,
-Rahul
Varnish really isn't meant to be a general purpose web cache like Squid. From the Varnish FAQ:
You can configure squid as a transparent proxy (on Windows you need some third-party software to handle what iptables does on Linux) and alleviate the need to configure PCs to use the proxy.
Caching YouTube videos is a pain, irrespective of the transparency of the proxy. You can read about some of the problems caching YouTube content and see possible "workarounds" that may or may not work for you (or may stop working if YouTube makes changes).
Sorry to jump in. Try using Lusca (a fork of the Squid-2 development tree), and for the video's http://cachevideos.com/. It's really works on me.