memcached has an expire time ... you might do it by setting that value back in time (time()-3600). This way, the garbage collector of memcached would know to erase it. Also: memcached libs (pecl libs) have a delete() metod, which make almost the same thing.
This might help you out. http://www.php.net/manual/en/book.memcached.php On Wed, Feb 11, 2009 at 5:46 PM, Timothy Bowler <[email protected]>wrote: > Hi, > > I have started to use DBFinder and memcache. It works great but how can i > delete a certain key from memcache without deleting everything from the > cache itself? > > e.g. When somebody modifies a news story in the backend. > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
