http_cache_etag()
http_cache_etag - Caching by ETag
Syntax
bool http_cache_etag (
string $etag)
Arguments
Description
Attempts to cache the sent entity by its ETag, either supplied or generated by the hash algorithm specified by the INI setting http.etag.mode.
Version
PHP PECL pecl_http >= 0.1.0
Return value
Returns FALSE or exitson success with 304 Not Modifiedif the entity is cached. See the INI setting http.force_exitfor what "exits" means.