Magento Expert Forum - Improve your Magento experience
-
How to Disable The Cache for Block in Magento 2
Magento 2 caching is helpful in the page loading speed of that website. As we all know Magento websites take much time to load and in solving that the caching was introduced. No doubt the customizations are very tough but for a perfect output, it is very important to configure. Many times it is not necessary to always go for caching configurations but one can disable cache for some specific blocks only. Here is the way to disable the cache for the block in Magento 2
Steps to disable the cache for the block in Magento 2:
Step 1: Just add this cacheable=”false” into the XML file like:
For more detail: https://magecomp.com/blog/disable-ca...ock-magento-2/
View more threads in the same category:
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks