The cache_data table grows fast

Created on 28 June 2022, over 2 years ago
Updated 9 September 2023, about 1 year ago

Problem/Motivation

If there are many facets on the page, then each filtering adds dozens of records prefixed with "route:" to the cache_data table. This becomes a problem with high site traffic.

Steps to reproduce

No additional steps are needed, just a lot of facets.

Proposed resolution

The root of the problem lies in this line. A cache record will be created for each combination of facet values. Therefore, the URL object should be created differently.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia walkingdexter

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

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