Memcache invalidate entries according to a pattern?

前端 未结 2 1318
-上瘾入骨i
-上瘾入骨i 2021-02-02 14:27

Is there a way to invalidate entries in memcache according to a wildcard key?

So if I have the following memcache keys:

data/1
data/2
data/3
         


        
2条回答
  •  渐次进展
    2021-02-02 15:02

    memcached does not support namespaced deletes.

    The official wiki has a suggestion on how to work around it:

提交回复
热议问题