Class DefaultCacheStorage
Default cache storage implementation
- Guzzle\Plugin\Cache\DefaultCacheStorage implements Guzzle\Plugin\Cache\CacheStorageInterface
public
|
|
public
|
#
cache( string $key,
Cache an HTTP request |
public
|
|
public
null|
|
protected
|
$cache |
|
#
Cache used to store cache data |
protected
integer
|
$defaultTtl |
|
#
Default cache TTL |
protected
array
|
$excludeResponseHeaders | array(
'Connection', 'Keep-Alive', 'Proxy-Authenticate', 'Proxy-Authorization',
'TE', 'Trailers', 'Transfer-Encoding', 'Upgrade', 'Set-Cookie', 'Set-Cookie2'
) |
#
Headers are excluded from the caching (see RFC 2616:13.5.1) |