Zend certified PHP/Magento developer

What kind of caches are cleared automatically after product edit in Magento 2?

After reading some comments on the ticket magento2/issues/25670 what I can understand is Magento 2 creates/stores a tag for each entity which is modified. For example if a product is modified it’s tag is stored and cache of that entity is cleared automatically. But I am not sure if my understanding is correct.

My questions are:

  • How this tag is stored? Does it store the product id/sku of the product which was modified or it stores the entity name only (ex: catalog_product)?
  • Where this tag info is stored? In db/file?
  • What kind of caches are cleared on product edit? Does it clear cache of a particular entity or it clears full page cache? Any other caches are cleared on product edit?
  • These caches are cleared on product save only or on admin product page load also?