From: Stephen D. <sd...@gm...> - 2006-04-15 22:48:36
|
On 4/5/06, Vlad Seryakov <vl...@cr...> wrote: > Yes, i use cache and in my case i do need to use get and set in > different situations, for example i need to set cache entry regardless > of what is there, eval will return me existing value, so i need to flush > it first which gets to the same race condition issue. > Same with get, i just need to get value if it exists without issuing > exists first and then eval, if it is not there i do not want to set it, > eval will set it. So ns_cache_exists is redundant? Can we remove that? What's the real problem your solving here? Do you have some custom code for invalidating cache entries or something? |