Portal Home > Knowledgebase > Articles Database > Varnish - X-Cache:MISS
Varnish - X-Cache:MISS
Posted by wdteam, 05-13-2014, 10:31 AM |
Hi guys,
I have Varnish installed and running, however I could see the following in HEADER:
From what I understand, X-Cache:MISS means that Varnish doesn't cache the page.
Please find my config below:
Any help would be appreciated.
Thank you
|
Posted by vpsshell_co_uk, 05-13-2014, 10:59 AM |
Hi,
Varnish only does what the backend tells it to by honouring the Expires and Cache-Control headers. Please check what headers your application returns:
Regards
|
Posted by wdteam, 05-13-2014, 11:07 AM |
I have the following:
HTTP/1.1 302 Found
Date: Tue, 13 May 2014 15:04:37 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.4-14+deb7u7
Location: http://mydomain.dev/
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
|
Posted by vpsshell_co_uk, 05-13-2014, 11:10 AM |
Please try once again with '-L' switch to follow redirections:
|
Add to Favourites Print this Article
Also Read