Example #1
0
 /**
  * Returns true if the response is worth caching under any circumstance.
  *
  * Responses marked "private" with an explicit Cache-Control directive are
  * considered uncacheable.
  *
  * Responses with neither a freshness lifetime (Expires, max-age) nor cache
  * validator (Last-Modified, ETag) are considered uncacheable.
  *
  * @return bool true if the response is worth caching, false otherwise
  *
  * @api
  */
 public function isCacheable()
 {
     return parent::isCacheable();
 }