[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Configuration / Services.yaml
index f8b1272..c822b70 100644 (file)
@@ -12,3 +12,8 @@ services:
   TYPO3\CMS\Fluid\View\TemplateView:
     arguments:
       $context: null
+
+  cache.fluid_template:
+    class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
+    factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
+    arguments: ['fluid_template']