Problem/Motivation

Too many cache_sets / cache clears are a big problem.

Proposed resolution

- Provide a variable like memcache_debug_cache_file that once created writes data to the given filename - only the cids obviously.

Like:

cache_set: variables -> cache_bootstrap
cache_set: / -> cache_page

etc.

That is the simplest and most efficient introspection I can only get by patching memcache or core at the moment.

Using a cache decorator would also be possible like heisencache, but nice if it was build in ...

Remaining tasks

User interface changes

API changes

Comments

  • Jeremy committed bb41ffc on 7.x-1.x
    Issue #2365839 by Jeremy: Provide introspection tool
    
Jeremy’s picture

Status: Active » Fixed

@Fabianx testing would be appreciated, as well as patches to improve the functionality I've added. (In particular, calls to ->getMulti aren't currently being logged when in Verbose mode.)

  • Jeremy committed 00d7567 on 7.x-1.x
    Issue #2365839: optimize debug tests, add getMulti
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.