nexcess / magento-turpentine

A Varnish extension for Magento.
GNU General Public License v2.0
519 stars 253 forks source link

[Question] Use the "cache" array information of the ESI rules block #1543

Open boesbo opened 4 years ago

boesbo commented 4 years ago

Technically, is it not possible to populate the ESI information by interpreting the "cache" array (cache_lifetime, cache_tags, cache_key) that is present in the blocks?

This would make it much faster to migrate from "Blocks HTML output" of Magento to the Varnish one. Tag cleaning (via cache_tags and event: application_clean_cache), TTL (cache_lifetime) etc.