- Issue created by @Anybody
- Merge request !17DIRTY QUICKFIX: Implemented quickfix to disable caching on dfp_tags (#3427684) β (Open) created by Anybody
- Status changed to Needs work
3 months ago 5:12pm 13 March 2024 - π©πͺGermany Anybody Porta Westfalica
Just verified this. With the quickfix the ads targeting is now correct.
This needs to be solved cleanly.
This is an issue for anyone using the hook as described in the .api.php file.
- π©πͺGermany Anybody Porta Westfalica
Looking into this, I think the right way might be to implement / override
Tag::getCacheTags()
as this is being called in TagViewBuilder:
CacheableMetadata::createFromObject()
That method should then include cache tags for all relevant (varying) attributes like
$targeting
, I think?What do the maintainers say? Am I right or any better way?
- Merge request !18Tried to implement a fix, but doesn't seem to work yet. β (Open) created by Anybody
- π©πͺGermany Anybody Porta Westfalica
In MR!18 I tried implementing a fix, but it doesn't seem to work. Happy to get some feedback and ideas how to solve this best.