Classes/Hooks/DataHandlerCacheFlushingHook.php
public function rebuildRedirectCacheIfNecessary(array $parameters, DataHandler $dataHandler)
    {
        if (isset($dataHandler->datamap['sys_redirect']) || isset($dataHandler->cmdmap['sys_redirect'])) {
            GeneralUtility::makeInstance(RedirectCacheService::class)->rebuild();
        }
    }
public function rebuildRedirectCacheIfNecessary(array $parameters, DataHandler $dataHandler)
    {
        if (isset($dataHandler->datamap['sys_redirect']) || isset($dataHandler->cmdmap['sys_redirect'])) {
            GeneralUtility::makeInstance(RedirectCacheService::class)->rebuild();
        }
    }
public function rebuildRedirectCacheIfNecessary ( array $ parameters , DataHandler $ dataHandler ) { if ( isset ( $ dataHandler -> datamap [ 'sys_redirect' ] ) || isset ( $ dataHandler -> cmdmap [ 'sys_redirect' ] ) ) { GeneralUtility :: makeInstance ( RedirectCacheService :: class ) -> rebuild ( ) ; } }
Check if the data handler processed a sys_redirect record, if so, rebuild the redirect index cache

@param array $parameters unused
@param DataHandler $dataHandler the data handler object
Check if the data handler processed a sys_redirect record if so rebuild the redirect index cache