Using a prefix can be handy. If you need to flush all queries from
memcache at the same time, while leaving other data in memcache, for
example, a simple way to do that is to simply change the prefix you
are using for queries. The key will be different, so all the old
entries are automatically no longer accessible, and will eventually be
discarded by memcache.

Reply via email to