Varnish4 + Symfony2 is not caching
Stephan Alz
stephan008 at gmx.com
Mon Dec 15 11:48:15 CET 2014
Hello Folks
I have a 4.0.2-1~wheezy + Symfony2 on Apache setup on 2 different linux hosts.
Could anybody tell me what is wrong with the following configuration:
http://pastebin.com/DzFrQijG
When I try the url with curl I get:
< HTTP/1.1 200 OK
< Date: Mon, 15 Dec 2014 10:46:31 GMT
< Server: Apache/2.2.22 (Debian)
< Vary: Host,Accept-Encoding
< Set-Cookie: PHPSESSID=0hel5b796j5eddr0qumq6ie344; path=/
< Cache-Control: no-cache
< Set-Cookie: hl=fr; expires=Tue, 15-Dec-2015 10:46:31 GMT; path=/
< Content-Type: text/html; charset=UTF-8
< X-Varnish: 32776
< Age: 0
< Via: 1.1 varnish-v4
< X-Cache: MISS
< X-Cache-Hits: 0
< Transfer-Encoding: chunked
< Accept-Ranges: bytes
X-Cache is always miss for the pages, which means Varnish does not do it's job.
Thank you,
Stephan
More information about the varnish-misc
mailing list