based on the configuration as below:

sub vcl_fetch {
  if (!obj.cacheable) {
    # Limit the lifetime of all 'hit for pass' objects to 10 seconds
    obj.ttl = 10s;
    pass;
  }
}

when the object is not cacheable, then go to "pass" which means going
to fetch the object from the backend server again?



2011/4/7 Traian Bratucu <[email protected]>

> No, if an object is not cacheable, it will simply not be cached (stored in
> memory and later served from here instead of fetching from the backend), but
> IT WILL BE DELIVERED to the client.
>
> The only time varnish will re-fetch the object from the backend is on a new
> client request.
>
>
>
> Traian
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *??
> *Sent:* Thursday, April 07, 2011 11:25 AM
> *To:* [email protected]
> *Subject:* a possible dead cycle?
>
>
>    when varnish fetch a page from backend server, and find it 's not
> cacheable,  so go to fetch the page from backend sever again?
>
>
>    and find it 's not  cacheable again , so again and agian .......?
>
>   please help me! thanks !
>
>
>
>   Regards!
>   pwlazy
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to