protected function clearCache(TypoScriptFrontendController $parentObject)
    {
        $pageId = $parentObject->id;
        if (!\is_numeric($pageId)) {
            $parentObject->applicationData['tx_crawler']['log'][] = 'EXT:staticfilecache skipped';

            return;
        }

        GeneralUtility::makeInstance(CacheService::class)->clearByPageId($pageId);
        $parentObject->applicationData['tx_crawler']['log'][] = 'EXT:staticfilecache cleared static file';
    }