- π¨π¦Canada Charlie ChX Negyesi πCanada
Isn't this a duplicate now? https://www.drupal.org/node/3107058 β
As an example, you have the node entity type with three bundles: article, blog, and page.
JSON API provides three API resources for those: jsonapi/node/article, jsonapi/node/blog and jsonapi/node/page.
The entity list cache tag for node, node_list, will automatically be added to each of those responses but I think it's wasteful. Any operation on an article node will clear caches for blog and page. There's no need for that.
Stop adding the entity type's list cache tag to responses. Rather, use the tag that takes the bundle in to account, ie, {entity_type_id}_list:{bundle}.
Active
11.0 π₯
Last updated
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Isn't this a duplicate now? https://www.drupal.org/node/3107058 β