edge side includes - Varnish ESI multiple fragments, single request? -


I have been assigned the task of improving the page service time for large deployment rather than WordPress multisite.

I am considering using ESI capabilities to incorporate dynamic content related to the user's login status using varnish for full page caching of content and varnish here The full list is that the Custom Title of the blog's ID or some other custom header with article ID and / or user ID.

I want to know that someone has ever put a method of incorporating multiple page pieces through the ESI while grouping them in the same response from the backend (like us, the user name and sidebar in the menu A custom user widget has to be displayed in it, the rest of the page is fixed and cached by varnish. ESI mandate is that I request two backend to backend two pieces By placing the HTML code on easy backend and returning the varnish to the processing, I can return the varnish to the processing and get them in their proper place.)

From now on, ESI returns HTML clause back in a request and wrapped in some javascript logic, which sets fire to keep various HTML strings in the appropriate places? A little strange, but resolves your problem, and it should not be difficult to implement it.

Another option with less moving parts will be to say that you can get all the HTML sections through ESI, a point in the page below, and then use CSS completely in those places But do where you want on the page.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -