protected validateCache ( integer $lastModified, string $etag ) : boolean | ||
$lastModified | integer | the calculated Last-Modified value in terms of a UNIX timestamp. If null, the Last-Modified header will not be validated. |
$etag | string | the calculated ETag value. If null, the ETag header will not be validated. |
return | boolean | whether the HTTP cache is still valid. |