Cache max age is ignored

Created on 19 June 2023, over 1 year ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

Cache max-age is ignored when collecting cache from condition plugins. I have a custom plugin that makes certain blocks visible only in the date-time range. The site editor would like the same possibility for a custom menu item, hence this module has been utilized.

Proposed resolution

Add max-age cache params in the menu preprocess similarly to how it's done to cache tags and contexts.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡΄Norway zaporylie

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

Comments & Activities

Production build 0.71.5 2024