Reinis,

Quoting Reinis Rozitis <[email protected]>:

To ignore clients headers regarding cache this should be enough imo:

sub vcl_recv {
  unset req.http.Cache-Control;
}

that's what I thought, and I have that as the first line in vcl_recv (more stuff after that).

I still see this in the logs:


   14 SessionOpen  c 10.18.7.7 57244 0.0.0.0:80
   14 ReqStart     c 10.18.7.7 57244 865712614
   14 RxRequest    c GET
   14 RxURL        c /jimi-hendrix.html
   14 RxProtocol   c HTTP/1.1
   14 RxHeader     c Host: argomenti.ilsole24ore.com
14 RxHeader c User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
   14 RxHeader     c Cache-Control: max-age=0
14 RxHeader c Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
   14 RxHeader     c Accept-Language: en-us
   14 RxHeader     c Accept-Encoding: gzip, deflate
14 RxHeader c Cookie: __qca=P0-697534472-1274625433878; base_domain_b16f823282571770f76c41b0015dfd67=ilsole24ore.com; pd_nw=4-275; s_cc=true; s_cm_NW=undefinedlocalhost%3A8080localhost%3A8080; s_lastvisit=1275061830533; s_nr=1275061830532-Repeat; s_sq=%5B%5BB%5D%5D; s_
   14 RxHeader     c Connection: keep-alive
   14 VCL_call     c recv
   14 VCL_return   c lookup
   14 VCL_call     c hash
   14 VCL_return   c hash
   14 VCL_call     c discard
   14 VCL_return   c discard
    0 ExpKill      - 865712580 LRU
   14 VCL_call     c miss
   14 VCL_return   c fetch
   14 Backend      c 13 cq cq


Any idea?

Andrea

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to