Magento 2 Certification Questions List | Custom data is saved into database from ERP API. You have a block that renders that info on all pages on front. On some pages it is correct, on some is not. When some changes are done in API, it talks Magento about it. What is wrong?

Custom data is saved into database from ERP API. You have a block that renders that info on all pages on front. On some pages it is correct, on some is not. When some changes are done in API, it talks Magento about it. What is wrong?

Answer:
  • Block should implements IdentityInterface, return static cache key and clean caches when API talks about changes.
Prepear for Magento 2 certefication with our interactive quiz