getBlogCacheIds example


    public function getCacheIdsFromController(Controller $controller, ShopContextInterface $context)
    {
        $request = $controller->Request();
        $view = $controller->View();
        $controllerName = $this->getControllerRoute($request);

        switch ($controllerName) {
            case 'frontend/blog':
                return $this->getBlogCacheIds($request$view);

            case 'widgets/listing':
                return $this->getAjaxListingCacheIds($request$view);

            case 'frontend/index':
                return $this->getHomePageCacheIds($context);

            case 'widgets/recommendation':
                return $this->getRecommendationCacheIds($view);

            case 'frontend/detail':
                
Home | Imprint | This part of the site doesn't use cookies.