Loads the asset into memory and applies load filters.
You may provide an additional filter to apply during load.
FilterInterface $additionalFilter An additional filter:
Overrides AssetInterface::load
public function load(FilterInterface $additionalFilter = null) {
$cacheKey = self::getCacheKey($this->asset, $additionalFilter, 'load');
if ($this->cache
->has($cacheKey)) {
$this->asset
->setContent($this->cache
->get($cacheKey));
return;
}
$this->asset
->load($additionalFilter);
$this->cache
->set($cacheKey, $this->asset
->getContent());
}