Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Monday, May 30, 2022

How to Disable Cache for Block Using XML in Magento 2

Magento 2 Caching is essential for improving page load speed. You might even face issues while customizing the dynamic content output. 

Depending on your business needs, you can even disable cache for specific blocks. 


In such a manner, you can disable cache for block using XML in Magento 2. For instance, it may happen a block may work differently for mobile and desktop. The users should be able to clearly identify the difference when accessed from mobile and desktop. This can be made possible only when disabled to fetch the value from the cached version. 


For more information, you need to refer the article at: https://meetanshi.com/blog/disable-cache-for-block-using-xml-in-magento-2/

No comments:
Write comments


Get more of our update !