I've just recently installed Litemage in my magento demo store (magento.startupwebshop.com), yet I currently running an issue with ESI - hole punching. When it was implemented with varnish, setting up a ttl=10 within a block solve the issue, however this is not applicable within Litemage.
I've been searching for documentations, forums post, etc. Most troubleshooting guide only applies for Litemage Magento 1 instead of Magento 2. Instead what I found mostly related to cacheable=false. Yet within the following articles, there isn't any solution how to fix it with hole punching a block. As a matter of fact, it would be easier if within the backend / admin in Magento, there is a field to add which block requires hole punching at a given period.
Sorry if I missed at reading post / documentations somewhere as I am non-backend developer.
Code:
<block class="Startupwebshop\Baseconfig\Block\OpeningTime" name="header-text-block" before="-" ttl="10" template="Startupwebshop_Baseconfig::header-text-block.phtml" />
Sorry if I missed at reading post / documentations somewhere as I am non-backend developer.
Last edited by a moderator: