Magento 2 – Does Setting Cacheable False on Block Invalidate Full Page Cache?

cachefull-page-cachemagento2

I have heard this but I cannot confirm it. Does anyone know?

Best Answer

It is true, you can see it mentioned the Dev Docs too if you want extra confirmation :

To create an uncacheable page, mark any block on that page as uncacheable in the layout using cacheable="false".

You can see that on this page.

Related Topic