After clearing the cache
default_head_blocks.xml doesn't update.
How I clear the cache
1. php bin/magento setup:static-content:deploy 2. Flush Magento Cache in the admin
What is the best way to clear magento 2 cache?
Thanks for your help.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
If you use custom theme means follow the below steps
1. Open the 'theme' table and update the type=0 for the particular custom theme. 2. php bin/magento setup:static-content:deploy -f 3. php bin/magento c:f
Finally we got the solution.
Doesn't matter either you are clearing cache from admin console or from command line. It will clear all the active cache. Cache:flush will remove both "Active" and "Inactive" cache. The only difference is, when you remove the cache from command line, you need to set the permission back.
Can you show me what are you trying to update in "default_head_blocks.xml" file and where is it located in your theme?