Views caching: Provide caching for expensive filter options

Created on 4 March 2024, 10 months ago
Updated 27 August 2024, 4 months ago

Problem/Motivation

Some filters do expensive operations every time they are loaded, e.g. taxonomy term filters (taxonomy_index_tid). The computation is independent of the input and could be cached.

Steps to reproduce

- tbd

Proposed resolution

Add a cache trait that ViewsFilter can use to cache part of their output.

Remaining tasks

- Review and refine the changes
- Add tests to ensure proper output

User interface changes

None

API changes

None, all changes should be transparent outside of views.

Data model changes

None

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¨πŸ‡­Switzerland pvbergen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024