Classes/Cache/Rule/DomainCacheable.php
public function checkRule(TypoScriptFrontendController $frontendController, string $uri, array &$explanation, bool &$skipProcessing)
    {
        $domainString = \parse_url($uri, PHP_URL_HOST);
        $domainRepository = GeneralUtility::makeInstance(DomainRepository::class);
        $domain = $domainRepository->findOneByDomainName($domainString);
        if (\is_array($domain) && \array_key_exists('tx_staticfilecache_cache', $domain)) {
            $cachableDomain = (bool)$domain['tx_staticfilecache_cache'];
            if (!$cachableDomain) {
                $explanation[__CLASS__] = 'static cache disabled on domain: ' . $domainString;
            }
        }
    }
public function checkRule(TypoScriptFrontendController $frontendController, string $uri, array &$explanation, bool &$skipProcessing)
    {
        $domainString = \parse_url($uri, PHP_URL_HOST);
        $domainRepository = GeneralUtility::makeInstance(DomainRepository::class);
        $domain = $domainRepository->findOneByDomainName($domainString);
        if (\is_array($domain) && \array_key_exists('tx_staticfilecache_cache', $domain)) {
            $cachableDomain = (bool)$domain['tx_staticfilecache_cache'];
            if (!$cachableDomain) {
                $explanation[__CLASS__] = 'static cache disabled on domain: ' . $domainString;
            }
        }
    }
public function checkRule ( TypoScriptFrontendController $ frontendController , string $ uri , array & $ explanation , bool & $ skipProcessing ) { $ domainString = \ parse_url ( $ uri , PHP_URL_HOST ) ; $ domainRepository = GeneralUtility :: makeInstance ( DomainRepository :: class ) ; $ domain = $ domainRepository -> findOneByDomainName ( $ domainString ) ; if ( \ is_array ( $ domain ) && \ array_key_exists ( 'tx_staticfilecache_cache' , $ domain ) ) { $ cachableDomain = ( bool ) $ domain [ 'tx_staticfilecache_cache' ] ; if ( ! $ cachableDomain ) { $ explanation [ __CLASS__ ] = 'static cache disabled on domain: ' . $ domainString ; } } }
Check if the current domain is static cacheable in Domain property context.

@param TypoScriptFrontendController $frontendController
@param string                       $uri
@param array                        $explanation
@param bool                         $skipProcessing
Check if the current domain is static cacheable in Domain property context .