Proxy server caching

Ask Bjørn Hansen ask at develooper.com
Thu Apr 10 18:54:58 UTC 2008


On Apr 9, 2008, at 22:17, drpr0ctologist at gmail.com wrote:
>
> Perlbal doesn't currently cache content (although I guess you could  
> make it).  It can be setup to cache the mogile paths though.
>
> How do you configure it to cache mogile paths?

In your service with reproxy enabled you do

	SET reproxy_cache_maxsize = 1000

The number is the number of reproxy results to cache; the default is 0  
(disabled).  It uses some memory (obviously), so keep an eye on that  
if you set it high.

> I'd recommend looking at Varnish to cache the content.
>
> How is Varnish better than Squid?

Pedro answered this a bit.  More here:

	http://phk.freebsd.dk/pubs/varnish_roadshow.pdf
	http://phk.freebsd.dk/pubs/varnish_vcl.pdf


  - ask

-- 
http://develooper.com/ - http://askask.com/


More information about the perlbal mailing list