validateCache() protected method
Validates if the HTTP cache contains valid content.
If both Last-Modified and ETag are null, returns false.
protected boolean validateCache ( $lastModified, $etag ) | ||
---|---|---|
$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. |
Please login to continue.