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

Traian

From: [email protected] 
[mailto:[email protected]] On Behalf Of ??
Sent: Thursday, April 07, 2011 10:52 AM
To: [email protected]
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;


    pass;
  }

  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 !



  Regards!
  pwlazy





_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to