Closed (fixed)
Project:
Views Custom Cache Tags
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2026 at 14:56 UTC
Updated:
16 Mar 2026 at 15:40 UTC
Jump to comment: Most recent
Comments
Comment #3
primsi commentedThis is WIP. I must be missing something, because `max-age` still doesn't change even though I see the correct value if debugging `getDefaultCacheMaxAge`.
Comment #4
berdirreviewed.
Comment #5
berdirSpent more time than expected looking into this, but fundamentally, the issue had nothing to do with Drupal 10 and 11 and it shouldn't have worked on any version.
The main issue was the schema which used type int, which cast custom to 0, and then once saved, the expression feature stopped working and max-age was 0. I changed it to string instead, which is quite messy, separate keys might be better, but it works.
Various test cleanups and did real testing with this as well.
Comment #7
berdirMerged.