daily pastebin goal
91%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 79 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. backend default {
  2.     .host = "127.0.0.1";
  3.     .port = "80";
  4. }
  5.  
  6. sub vcl_recv {
  7.     set req.http.Surrogate-Capability = "abc=ESI/1.0";
  8. }
  9.  
  10. sub vcl_fetch {
  11.     if (beresp.http.Surrogate-Control ~ "ESI/1.0") {
  12.         unset beresp.http.Surrogate-Control;
  13.         set beresp.do_esi = true;
  14.     }
  15.  
  16.     if (beresp.http.Cache-Control ~ "s-maxage") {
  17.         unset req.http.Cookie;
  18.         return (deliver);
  19.     }
  20.  
  21.     return (hit_for_pass);
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top