What the php caches that support tagging? [closed]
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-开发者_运维问答topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI need a cache system for PHP that suport tags.
It's will be used caching a lot of queries results, from many users, and every time I will need to clear some user cache, or some module cache...
I thinked, and conclude that tagging are the best way to do that.
Like ('messages_unread_user_300','messages','user_300','unread') it easy to clearup when needed.
I've tried xcache and apc.
The memcached wiki has a solution that looks like it may fit yours:
http://code.google.com/p/memcached/wiki/NewProgrammingTricks#Namespacing
See "Deleting By Namespace"
精彩评论