Method |
Description |
|
get ( string $key ) : string |
If we make it here then we have a cached version of this asset
found in the underlying $cache driver. So we will check the
header HTTP_IF_MODIFIED_SINCE and if that is not less than
the last time we cached ($lastModified) then we will exit
with 304 header. |
|
getAssetCache ( ) : AssetCache |
Allows us to know our parent asset cache so we can do stuff like
last modified time |
|
getServerCache ( ) : Assetic\Cache\CacheInterface |
Allows us to get the existing cache |
|
has ( string $key ) : boolean |
Proxy the $cache has to see if this asset has been cached yet or not |
|
remove ( string $key ) : string |
Remove this key from session and also remove it from
underlying cache driver |
|
set ( string $key, string $value ) |
Proxy set to use the underlying cache driver |
|
setAssetCache ( Assetic\Asset\AssetInterface $asset ) |
Allows us to set our parent asset cache (from asset pipeline)
so we can do stuff like last modified time |
|
setServerCache ( Assetic\Cache\CacheInterface $cache ) |
Allows us to delegate the cache driver to this client cache |
|