I'm planning my caching strategy and I'm digging into ESI to see if it fits my needs.
Today these questions arose:
{% render '...' with {}, {'standalone': true} %}
. I understand that the resulting page will have to wait for all of them, but the time it will take, will it be similar to the slowest of the includes, or will it be similar to the sum of all those includes?ESI with varnish is always executed in serial. They put alot of work on improving ESI with varnish 3, but still no change in that aspect. I also remember seeing some response from varnish staff saying that the feature was on their wishlist but was a tricky one to implement.
For making paralell now I guess the only option would be to implement the feature yourself.
As for Ajax vs ESI I would say the break point goes later than 5 ESI as long as they can be rendered quickly by your backend. Ajax always has the drawback of being bad SEO if used for content parts of your site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With