I need to setup a proxy server where we can request remote urls and get them served locally.
Basically what I need is
mysever:8000/varnish/serverfault.com get me serverfault.com served from my local varnish
myserver:8080/squid/serverfault.com get me serverfault.com served from my local squid.
(Both should cache the site for 24 hours)
I am evaluating if
- Varnish or Squid will be a good choice for it.
- Which one will be a better fit?
- How do I do it. Links to tutorials would be good.