\Guzzle\Plugin\CacheDefaultCanCacheStrategy

Default strategy used to determine of an HTTP request can be cached

Summary

Methods
Properties
Constants
canCacheRequest()
canCacheResponse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

canCacheRequest()

canCacheRequest(\Guzzle\Http\Message\RequestInterface  $request) : boolean

Determine if a request can be cached

Parameters

\Guzzle\Http\Message\RequestInterface $request

Request to determine

Returns

boolean

canCacheResponse()

canCacheResponse(\Guzzle\Http\Message\Response  $response) : boolean

Determine if a response can be cached

Parameters

\Guzzle\Http\Message\Response $response

Response to determine

Returns

boolean