webidea24 / magento2-module-prevent-rendering-esi-blocks
Magento 2 Extension: Prevent rendering ESI blocks
Installs: 172
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ^8.2
- magento/module-page-cache: *
README
Magento does replace the output HTML of blocks with a TTL with an ESI-Tag for the Varnish Cache.
In this case Magento wasted time to render the block, because the output of the block will be never used.
So this module will prevent rendering blocks with a TTL to increase the TTFB (Time to the first byte).
Install
compose require webidea24/magento-module-prevent-rendering-esi-blocks bin/magento setup:upgrade