catgento.com
  • Blog
  • Magento Events / variables and modules
  • Magento functions cheatsheet
  • About
  • Github

cache

Development

[Magento 2] How to clean the cache by TAG

Cleaning the cache by TAG is quite easy in Magento 2. You will need to: Inject the classes in your construct function Know the exact tags you want to cache Flush the actual Cache Start creating your class injecting the classes we need: Create a function to retrieve the tags Read more…

By Pau, 3 yearsMarch 31, 2020 ago
  • My page about yoga, Yoga Alacant
  • Magento Events / variables and modules
  • Magento functions cheatsheet
Hestia | Developed by ThemeIsle