Using the pimcorecache tag with a dynamic key #17870
Unanswered
muratbinerbay
asked this question in
Q&A / Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
We used to init the old
pimcore_cache
extension like:Which allowed us to create specific cache keys based on the product IDs.
With the new
pimcorecache
tags it looks like the first token must be of type string and cannot be a Twig variable. It looks like thetags
argument behaves similarly.We tried a few things to some how get a string value passed into the CacheParser but it was not possible. Is this intentional? Wouldn't allowing dynamic cache keys be helpful in some cases?
For reference, this change was added in #17444
Thank you,
Murat
Beta Was this translation helpful? Give feedback.
All reactions