You can't. Generally you'll be using some sort of known, reproducible composite key to retrieve the data you need.
An example of this that i've used in the past for some fragment caching is a combination of model class name + id or controller name + model + id.
Hope that helps,
Matta
> --
> You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
> To post to this group, send email to rails-...@googlegroups.com.
> To unsubscribe from this group, send email to rails-oceani...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
The other thing you'd do in dev mode, is to run it in non-daemon mode with -v and it'll spit out all the logging. That'll include hits, misses and keys.
Matta
For high level stats I only just found out about
memcached-tool localhost stats
and have found it very useful for getting an overview of cache usage.
regards,
Martin
On Wednesday, August 24, 2011 at 8:18 AM, Ben Schwarz wrote:
I wrote amnesia (a memcached web stat page) a while ago, not really what you're looking for, but I'm sure it could be extended pretty easily.
--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/_6FyzqnkrUcJ.