I use the runEvent-Cache, which works perfectly. But now I want to purge one certain element from the cache and that doesn't work and I don't know, what I'm doing wrong.
I have the following code to do the caching:
I try to purge the cached element like so:
Or I also tried this:
Neither works. Do you have any suggestions?
Thanks for the help!
Do you have any news concerning this ticket? I need to solve this, otherwise we have to code a solution ourselves.
I am wondering if it is the module that's throwing it off. Can you test without a module?
I took it out of the module and used the event "Main.testdisplayCache" instead of "News:Entry.displayCache". That's what I should try, right? It didn't change anything.
so it is not purging when using url params then?
Does it purge without url params?
It works with clearAllEvents and clearAll. It also works with clearEvent without the queryString, then it purges all cache entries having that event.