getFormsCacheIds example

case 'widgets/emotion':
                return $this->getEmotionCacheIds($view);

            case 'frontend/listing':
                return $this->getListingCacheIds($request$view);

            case 'frontend/custom':
                return $this->getStaticSiteCacheIds($request);

            case 'frontend/forms':
                return $this->getFormsCacheIds($request);

            default:
                return [];
        }
    }

    private function getControllerRoute(Request $request)
    {
        return implode('/', [
            strtolower($request->getModuleName()),
            strtolower($request->getControllerName()),
        ]);
Home | Imprint | This part of the site doesn't use cookies.