I'm planning my caching strategy and I'm digging into ESI to see if it fits my needs.
Today these questions arose:
- Is each include executed in serial or parallel? Say I have 5 of these:
{% 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? - If the answer is 'serial', is there a way to turn it into parallel?
- Am I better off just using Ajax for the user-specific parts of the website? In which cases would you pick one or the other?