Exemplo n.º 1
0
 /**
  * Returns true if the response is "fresh".
  *
  * Fresh responses may be served from cache without any interaction with the
  * origin. A response is considered fresh when it includes a Cache-Control/max-age
  * indicator or Expires header and the calculated age is less than the freshness lifetime.
  *
  * @return bool true if the response is fresh, false otherwise
  *
  * @api
  */
 public function isFresh()
 {
     return parent::isFresh();
 }