开发者

Key versioning for memcached

I'm looking for a PHP class which would implement delete($prefix) through the means of key versioning for memcached (or other cache).

If I have a key structure like this:

table/5/23 => {data}
table/5/24 => {data}
table/6/5 => {data}

When I want to invalidate part of the cache, such as clear everything for table/ or table/5 the only option seems to be is to use key versioning as described in this answer.

Is there an existing PHP class开发者_如何学编程, library or snippet which implements such functionality transparently?

(note: I've looked into MongoDB but I can't use it in my project)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜