Skip to content

[5.x] Enhance template cache for more control over expiry #15970

Closed Answered by brandonkelly
rob-c-baker asked this question in Ideas
Discussion options

You must be logged in to vote

Just made this change for Craft 5.5 (6915d47).

Going forward the number can be set to any valid expression, including variable names. (The unit must still be hard-coded, e.g. week.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brandonkelly
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants