protected function makeCacheFilename() { if ($this->settings->useResourceCache()) { return sprintf('%s.%s', $this->makeHashOfCacheBase(), $this->type); } return sprintf('%s.%s.%s', $this->makeHashOfCacheBase(), $this->cacheTimestamp, $this->type); }