How to clearEvent from runEvent-cache

Description

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!

Activity

Show:
Tanja Zogg
March 28, 2017, 6:08 AM

Hi Luis
Do you have any news concerning this ticket? I need to solve this, otherwise we have to code a solution ourselves.
Thanks!

Luis Majano
March 29, 2017, 5:13 PM

I am wondering if it is the module that's throwing it off. Can you test without a module?

Tanja Zogg
March 30, 2017, 2:32 AM

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.

Luis Majano
March 30, 2017, 4:43 PM

so it is not purging when using url params then?
Does it purge without url params?

Tanja Zogg
March 31, 2017, 2:55 AM

It works with clearAllEvents and clearAll. It also works with clearEvent without the queryString, then it purges all cache entries having that event.

Assignee

Luis Majano

Reporter

Tanja Zogg

Labels

Components

Priority

Major
Configure