how to delete cache in best way.
anatol.pomozov at gmail.com
Mon Oct 2 08:38:01 UTC 2006
Seems that "delete cache region" is a most requestable feature.
Johannes, there is one solution for your problem
But as for me I think it is very dirty solution, I would prefer to see
more cleaner and elegant solution integrated right to MemCached.
On 10/2/06, Johannes Fosseus <johannes.fosseus at gmail.com> wrote:
> I run into a problem last night concerning memcache. I use cache keys
> like this $key = $session.$writerid.$page
> $page is the paging id of a list using paging in the gui, for example
> a users messages in the inbox. There can be more then one cached lists
> to the uses, using different $page. The user can have 3 pages of
> messages in the inbox and each one of them cache one list.
> So, if the user delete a massage on page 2 I want to delete all cached
> lists, is there a easy way to do that or do I have to check the number
> of pages and after that delete every cached list, in this case 3
> For example in Smarty I can create groups in the file cache and then
> delete a group, kind of nice.
> Regards / Johannes.
> Johannes Fosseus webbmail
More information about the memcached