A couple of simple questions...

Tollef Fog Heen tfheen at linpro.no
Mon Jun 30 14:17:04 CEST 2008

* Skye Poier Nott 

| 1. When you restart Varnish the cache is always purged?

Correct, we don't have persistent caches yet.

| 2. If I have a section like this in vcl_fetch, is the default_ttl  
| parameter basically ignored? (assuming default_ttl is less than the  
| value below).  So in other words, this VCL code enforces a minimum TTL?
| 	if (obj.ttl < 36h) {
| 		set obj.ttl = 36h;
| 	}

At first glance, this looks fine tome.

| 3. When I want to use Varnish in a WAN transparent accelerator mode,  
| if I don't specify any "backend default" is the default to fetch the  
| document from the hostname in the URL?

You have to define a default backend.

Tollef Fog Heen / Linpro AS    t: 21 54 41 73

UNIX is user friendly, it's just picky about who its friends are

More information about the varnish-misc mailing list