mdref.json config
[mdref/mdref-http] / http / Env / Response / isCachedByLastModified.md
1 # int http\Env\Response::isCachedByLastModified([string $header_name = "If-Modified-Since"])
2
3 Manually test the header $header_name of the environment's request for a cache hit.
4 http\Env\Response::send() checks that itself, though.
5
6 ## Params:
7
8 * Optional string $header_name = "If-Modified-Since"
9 The request header to test.
10
11 ## Returns:
12
13 * int, a http\Env\Response::CACHE_* constant.