Cache Tags not added to view

Created on 21 November 2022, about 2 years ago
Updated 13 July 2024, 5 months ago

Problem/Motivation

When adding cache tags to a view, they show up in the X-Drupal-Cache-Tags header correctly. When invalidating the tags nothing happens. Invalidating the existing (system) cache tag from the view clears the cache tag correctly, but custom cache tags not. Looking in the database the cache tags aren't added to the cache_render table at all, only the existing ones (for example "config:views.view.listing_1 rendered").

Custom cache tag added: custom:view.listing_1.user.{{ raw_arguments.null }}, which shows up in X-Drupal-Cache-Tags correctly like custom:view.listing_1.user.1

Version: Drupal 9.4.5 / Views 9.4.5 / Views Custom Cache Tag: 8.x-1.2

πŸ› Bug report
Status

Needs work

Version

1.2

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium pablovos

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024