check response from varnish cache

Rogier R. Mulhuijzen varnish at bsdchicks.com
Mon Sep 3 17:13:06 CEST 2012


Hi,

This mailing list is purely for development discussions, and not for 
helping users. Please see either the IRC channel or the varnish-misc 
mailing list.

https://www.varnish-cache.org/trac/wiki/MailingLists

Cheers,

      Doc

On Mon, 3 Sep 2012, F wrote:

> anyone can help provide me?
>
>
>
> On 1 Sep 2555 BE, at 00:56, F <make.it.easy at gmail.com> wrote:
>
>> Can anyone confirm and show me the response in both cases?
>>
>> I have not yet using Varnish so I cannot try.
>>
>> F
>>
>> On 31 Aug 2555 BE, at 22:24, John Adams <jna at twitter.com> wrote:
>>
>>> Just look at the X-Cache header. I believe this is in the default VCL, and it will return HIT or MISS depending if you hit the cache or not.
>>>
>>> -j
>>>
>>>
>>> On Fri, Aug 31, 2012 at 6:48 AM, Atanai Wuttisetpaiboon <make.it.easy at gmail.com> wrote:
>>> 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?
>>>
>>> _______________________________________________
>>> varnish-dev mailing list
>>> varnish-dev at varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>>>
>



More information about the varnish-dev mailing list