Smile-SA / magento2-module-custom-entity-product-link

31 stars 12 forks source link

Create cache hash for custom entity in product block #58

Closed mrrobotisback closed 11 months ago

mrrobotisback commented 1 year ago

Related to issue: https://github.com/Smile-SA/magento2-module-custom-entity-product-link/issues/57

guvra commented 11 months ago

This breaks the caching mechanism of Magento, because your hashed cache tag doesn't match the cache tag of the entity.

mrrobotisback commented 11 months ago

Sorry but in my opinion this is the way to solve the problem. Feel free to modify the other places in the code to use it with the hash.