/** * Returns true if the response is worth caching under any circumstance. * * Responses that are streamable are considered un cacheable. * * @link http://tools.ietf.org/html/rfc2616#section-14.9.1 * @return Boolean true if the response is worth caching, false otherwise */ public function isCacheable() { if ($this->isStreamable()) { return false; } return parent::isCacheable(); }