check response from varnish cache

Atanai Wuttisetpaiboon make.it.easy at gmail.com
Fri Aug 31 15:48:29 CEST 2012


Hi,

I am now start learning and thinking to use Varnish cache. I would like to
know how can we know from the response whether the content is retrieved
from the Varnish cache or from the web server?

I have seen some cache devices, they returns HTTP AGE in HTTP header:
- If Age is 0, it means the content is from web server
- If Age is not 0 (greater than 0), means the content is from the cache
device.

I am not sure if Varnish cache has this ability?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120831/c08e038f/attachment.html>


More information about the varnish-dev mailing list