public function cacheHit($url) {
        $file = FileSystemHelper::getCachedEntry($url, $this->getCacheDir());
        return $this->isCaching() && FileSystemHelper::cacheEntryExists($file)
               && FileSystemHelper::validateCache($file, $this->getCacheTTL(),
                                                  $this->isCachingForever());
    }