a problem about obj.cacheable

Traian Bratucu traian.bratucu at eea.europa.eu
Thu Apr 7 10:56:22 CEST 2011

Varnish will decide if the object is cacheable based on the caching headers sent by the backend (Cache-Control etc.)


From: varnish-misc-bounces at varnish-cache.org [mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of ??
Sent: Thursday, April 07, 2011 10:52 AM
To: varnish-misc at varnish-cache.org
Subject: a problem about obj.cacheable

hi all:

  i am learning document from varnish offical website.

  in the documents, there is a configure as below:

  sub vcl_fetch {
  if (!obj.cacheable) {
    obj.ttl = 10s;


  i wonder after varnish fetch a page form back server, what varnish decides the page
  if it's cacheable according to?
  please help me! thanks !


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110407/9a62bed8/attachment-0003.html>

More information about the varnish-misc mailing list