I'm having problems with cacheing a block in Magento 2. The theme I'm using is getting content for the block via an AJAX call.
Is it possible and if so, how to cache such a block in M2?
Thank you, Mateusz
Every block in magento2 is by default cacheable. You can disable cacheing of that block by explicitly adding cacheable="false" as the block attribute. Can you make sure that this attribute is not added anywhere for this particular block