Classes/Service/CacheService.php
public function clearByPageId(int $pageId)
    {
        $cache = $this->get();
        $cacheEntries = \array_keys($cache->getByTag('pageId_' . $pageId));
        foreach ($cacheEntries as $cacheEntry) {
            $cache->remove($cacheEntry);
        }
    }
public function clearByPageId(int $pageId)
    {
        $cache = $this->get();
        $cacheEntries = \array_keys($cache->getByTag('pageId_' . $pageId));
        foreach ($cacheEntries as $cacheEntry) {
            $cache->remove($cacheEntry);
        }
    }
public function clearByPageId ( int $ pageId ) { $ cache = $ this -> get ( ) ; $ cacheEntries = \ array_keys ( $ cache -> getByTag ( 'pageId_' . $ pageId ) ) ; foreach ( $ cacheEntries as $ cacheEntry ) { $ cache -> remove ( $ cacheEntry ) ; } }
Clear cache by page ID.

@param int $pageId

@throws NoSuchCacheException
Clear cache by page ID .