November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
The method EPiServer.Common.Queries.QueryHandler.RemoveQueryResultCache (in EPiServer.Common.Framework.Impl) clears a cache key based on a query instance (looking at all the set criterias, values and sorting order).
Maybe this could be a starting point for further investigation?
/Håkan
Thanks a lot Håkan, that seems to be exactly what I've been looking for.
I'm trying to develop a nice way to clear the Query cache on demand (when AddEntry happens for instance) without having to manually add code to clear it "everywhere" in our code where AddEntry happens using Aspect oriented programming and this was the last piece needed to the puzzle :-)
Happy easter
/Martin
Hello,
I have a case here where I'd like to compare, for instance, two TopicQuery instances and see if they contain the same criterions and values for these criterions, basically see if the queries ask for the same kind of information from EPiServer Community. Does anyone here have any idea about the best way of doing this?
Best regards
Martin