Whenever I want to edit some phtml file, then I have to clear the cache. Is there anything to clear the cache or clean specific cache?


1 Answer 1


Rub below command and then try

php bin/magento cache:disable block_html
php bin/magento cache:clean
php bin/magento cache:flush

After run above commands you not need to clean or flush cache after update the phtml files


Not the answer you're looking for? Browse other questions tagged or ask your own question.