public function useResourceCache() { $cachePath = $this->getCachePath(); $cacheUrl = $this->getCacheUrl(); $cachePathEmpty = empty($cachePath); $cacheUrlEmpty = empty($cacheUrl); return $cachePathEmpty && $cacheUrlEmpty; }