P
P
PopeyetheSailor2013-11-11 20:10:43
PHP
PopeyetheSailor, 2013-11-11 20:10:43

Class/lib for with tag functionality for MemcacheD in PHP

Actually, advise the subject, I was going to write it myself, but there are certainly worthy implementations.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
EugeneOZ, 2013-11-11
@PopeyetheSailor

github.com/jamm/Memory - here you can add tags and delete by tags.

N
nikel303, 2013-11-11
@nikel303

http://dklab.ru/lib/Dklab_Cache/

V
Valery Dmitriev, 2013-11-12
@rotor

github.com/valmat/Cacher - there are tags, slots, the ability to change the backend on the fly. A set of backends optimized for different tasks. The architecture is optimized for maximum performance.

N
Nazar Mokrinsky, 2013-11-12
@nazarpc

I implemented this functionality myself.
The bottom line is that cache keys are lines that have a slash as a separator, that is, they look like paths in the file system (originally there was a file cache engine), so it’s convenient to delete directories, for example, clear the cache of all users.
You can see how it works here: Memcached.php#L73
It's easy to separate the class and use it in another project. There will be questions - contact.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question