Commit b15c4edda04cec7391361fb81b8436cfa255ad3d

Authored by Antonio Terceiro
1 parent 48be1d6b

Rest of the logic required for per-language cache

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
etc/noosfero/varnish-accept-language.vcl
... ... @@ -183,3 +183,7 @@ sub vcl_recv {
183 183 vcl_rewrite_accept_language(sp);
184 184 }C
185 185 }
  186 +
  187 +sub vcl_fetch {
  188 + set beresp.http.Vary = "X-Varnish-Accept-Language";
  189 +}
... ...