Project:Memcache API and Integration
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

There is a nice project to show, browse and control cache entries:

Cache Browser - http://drupal.org/project/cache_browser

It works ATM only for the original DB tables.

I think it would be nice to allow browsing of the memory cached entries too,
the whole functionality is already there.

I asked for the feature and the maintainer seems generally interested:
http://drupal.org/node/365156

So, any interest here? I have not checked the source but i have the feeling that
can be done somewhat easily because both modules hook in at the same point of the
original cache system.

Comments

#1

For this to integrate with the cache_browser module we would need a couple of things:

1) List of tables managed by memcache.
2) Method to retrieve the entries cached by cache table.

Then I could adapt the cache_browser module to use these methods. Though, I don't use memcache module myself, so I'm not sure if I'll be able to help here.

#2

Status:active» closed (won't fix)

Memcache is a key value store, meaning if you know the key for a given cached item, you can then view the value that was stored for that key. There is no way to simply walk all values in the cache.