views.view.*.yml config missing cache settings

Created on 5 May 2025, 7 days ago

Problem/Motivation

The views.view.*.yml configuration file in the module does not define a cache: setting. This means the View uses no caching at all, which negatively impacts performance and bypasses Drupal’s intelligent cache invalidation system.

Expected behaviour

The View configuration should define caching using cache: type: tag, which is the recommended default in Drupal 9 and 10. This enables automatic invalidation when messages or related entities are updated.

πŸ› Bug report
Status

Active

Version

1.17

Component

Core

Created by

πŸ‡΅πŸ‡±Poland alorenc Wolsztyn, πŸ‡΅πŸ‡±

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

Comments & Activities

  • Issue created by @alorenc
  • @alorenc opened merge request.
  • πŸ‡΅πŸ‡±Poland alorenc Wolsztyn, πŸ‡΅πŸ‡±
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    those views are not built with caching in mind, there are custom plugins that aggregate stuff that will not be properly reflected.

    Caching is only sensible if it it's viewed a lot more than it's invalidated. That's quite unlikely on these views.

Production build 0.71.5 2024