Change record status: 
Project: 
Introduced in branch: 
8.9.x
Introduced in version: 
8.9.0
Description: 

A new ENTITY_TYPE_list:BUNDLE cache tag has been added, for more granular invalidation of cached lists of entities.

Currently, if showing a list of nodes of type 'article', this will be invalidated even if a node of type 'page' is updated, due to the ENTITY_TYPE_list cache tag (node_list).

The new cache tag (for example: node_list:article, allows entity listings to be tagged only with the relevant bundle listing cache tag, reducing the frequency of cache invalidations without sacrificing cache consistency.

Impacts: 
Module developers

Comments

danflanagan8’s picture

omrmankar’s picture

node_list:article
if in my render all node using taxonomy how to add cache tag for same

Best regards,

Omprakash Mankar
Senior Drupal Developer

berdir’s picture

You can implement your own cache tags for a certain field, the project page on https://www.drupal.org/project/views_custom_cache_tag has an example for exactly that use case.