Class DefaultCacheStorage
Default cache storage implementation
- Guzzle\Plugin\Cache\DefaultCacheStorage implements Guzzle\Plugin\Cache\CacheStorageInterface
public
|
|
public
|
#
cache(
Cache an HTTP request |
public
|
#
delete(
Deletes cache entries that match a request |
public
|
|
public
null|
|
#
fetch(
Get a Response from the cache for a request |
protected
string
|
#
getCacheKey(
Hash a request URL into a string that returns cache metadata |
protected
string
|
#
getBodyKey( string $url,
Create a cache key for a response's body |
protected
string
|
$keyPrefix
|
|
protected
|
$cache
Cache used to store cache data |
|
protected
integer
|
$defaultTtl
Default cache TTL |