[Twig Component] Twig & Live component rendered as ESI? #2110
Unanswered
Nayte91
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there, genuine question instead of posting an issue: are the twig component, called with the twiggy
{{ component('foo') }}
function, rendered as ESI ?I'm working on the caching in my project, I just learned about ESI with https://symfony.com/doc/current/http_cache/esi.html
But as I splitted a big part of my rendering into twig components, I can't use
render_esi()
.Are twig component de facto rendered with ESI? How can you check if it's true or false? I'm a bit blind on this part. If it isn't, it seems that a twig component is a good candidate for Edge Side Inclusion, isn't it?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions