public function getCacheUrl() { $value = parent::getAttribute('cacheUrl'); if (!$value) { return false; } $cacheUrl = craft()->config->parseEnvironmentString($value); return $this->forceTrailingSlash($cacheUrl); }