1. 13 Feb, 2009 6 commits
  2. 12 Feb, 2009 2 commits
  3. 11 Feb, 2009 3 commits
  4. 06 Feb, 2009 2 commits
  5. 03 Feb, 2009 11 commits
  6. 02 Feb, 2009 1 commit
  7. 30 Jan, 2009 1 commit
  8. 28 Jan, 2009 3 commits
  9. 27 Jan, 2009 4 commits
  10. 24 Jan, 2009 2 commits
  11. 23 Jan, 2009 2 commits
  12. 22 Jan, 2009 2 commits
  13. 21 Jan, 2009 1 commit
    • Poul-Henning Kamp's avatar
      Enforce a minimum ttl for "hit for pass" objects to prevent a value · 99968684
      Poul-Henning Kamp authored
      of zero from serializing access to an object with very draconian
      backend cache-control headers.
      
      We could get far even with a one second TTL, but following our general
      "there is a reason people put Varnish there in the first place" logic
      we use the default_ttl parameter (default: 120 s) for this value.
      
      If another value is desired, this can be set in vcl_fetch, even if it
      looks somewhat counter-intuitive:
      
      	sub vcl_fetch {
      		if (obj.http.set-cookie) {
      			set obj.ttl = 10s;
      			pass;
      		}
      	}
      
      Fixes #425
      
      
      
      git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3537 d4fa192b-c00b-0410-8231-f00ffab90ce4
      99968684