|
static | $CACHEABLE_HTTP_METHODS = array('GET', 'HEAD') |
|
static | $CACHEABLE_STATUS_CODES = array('200', '203', '300', '301') |
|
◆ isExpired()
- Parameters
-
- Return values
-
bool | True if the HTTP response is considered to be expired. False if it is considered to be fresh. |
◆ isRequestCacheable()
Check if an HTTP request can be cached by a private local cache.
- Parameters
-
- Return values
-
bool | True if the request is cacheable. False if the request is uncacheable. |
◆ isResponseCacheable()
Check if an HTTP response can be cached by a private local cache.
- Parameters
-
- Return values
-
bool | True if the response is cacheable. False if the response is un-cacheable. |
◆ mustRevalidate()
Determine if a cache entry should be revalidated with by the origin.
- Parameters
-
- Return values
-
bool | True if the entry is expired, else return false. |
The documentation for this class was generated from the following file:
- lib/google/src/Google/Http/CacheParser.php