Class DefaultRevalidation
Default revalidation strategy
- Guzzle\Plugin\Cache\DefaultRevalidation implements Guzzle\Plugin\Cache\RevalidationInterface
public
|
#
__construct(
|
public
boolean
|
#
revalidate(
Performs a cache revalidation |
public
boolean
|
#
shouldRevalidate(
Returns true if the response should be revalidated |
protected
|
#
handleBadResponse(
Handles a bad response when attempting to revalidate |
protected
|
#
createRevalidationRequest(
Creates a request to use for revalidation |
protected
boolean
|
#
handle200Response(
Handles a 200 response response from revalidating. The server does not support validation, so use this response. |
protected
boolean
|
#
handle304Response(
Handle a 304 response and ensure that it is still valid |
protected
|
$storage
Cache object storing cache data |
|
protected
|
$canCache
|