[Varnish] #954: Varnish 3.0 breaks beresp.cacheable VCL syntax

Varnish varnish-bugs at varnish-cache.org
Sat Jul 2 19:31:38 CEST 2011


#954: Varnish 3.0 breaks beresp.cacheable VCL syntax
--------------------+-------------------------------------------------------
 Reporter:  dfavor  |        Type:  defect
   Status:  new     |    Priority:  normal
Milestone:          |   Component:  build 
  Version:  3.0.0   |    Severity:  normal
 Keywords:          |  
--------------------+-------------------------------------------------------
 I'm new to Varnish... and the manual for 3.0 says at link...
 https://www.varnish-cache.org/docs/3.0/reference/vcl.html that
 beresp.cacheable...

 "True if the request resulted in a cacheable response.

 in vcl_fetch referencing this variable throws an error...

 Message from VCC-compiler:
 Symbol not found: 'beresp.cacheable' (expected type BOOL):
 ('input' Line 55 Pos 12)
     if ( ! beresp.cacheable ) {
 -----------################----

 Running VCC-compiler failed, exit 1

 VCL compilation failed

 Someone let me know how to fix this.

 Thanks.

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/954>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list