Skip to content

EPIC: Cache Warmup #1103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
s2b opened this issue Jun 7, 2025 · 0 comments
Open

EPIC: Cache Warmup #1103

s2b opened this issue Jun 7, 2025 · 0 comments

Comments

@s2b
Copy link
Contributor

s2b commented Jun 7, 2025

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:

However, there are still some ToDos left:

  • rethink naming of cache files (partial, layout, template as prefixes; action and controller name)
  • refactor TemplatePaths API to get rid of controllerName and actionName in favor of something more reasonable, like templateName
  • 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.

@s2b s2b added this to the Core Budget Tasks milestone Jun 7, 2025
@s2b s2b changed the title Cache Warmup EPIC: Cache Warmup Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant