Fluid
Fluid copied to clipboard
EPIC: Cache Warmup
One major goal for Fluid 5 is to implement a (mostly) context-free possibility to warmup the cache of Fluid templates. Most of the road blocks are related to the caching mechanism depending on data only present during runtime/rendering of a template. Some of those have already been addressed by introducing deprecations in Fluid 4:
- #1080
- #1090
However, there are still some ToDos left:
- rethink naming of cache files (partial, layout, template as prefixes; action and controller name)
- refactor
TemplatePathsAPI to get rid ofcontrollerNameandactionNamein favor of something more reasonable, liketemplateName - refactor/deprecate existing warmup feature, which needs too much context at the moment to be used in most use cases
- create new cache warmup command
One context information will still be necessary: The defined global ViewHelper namespaces. The reason is that both ViewHelper class names and the newly introduced ViewHelperResolver delegates are currently resolved during parse time and baked in to the cache files.