log sets and deletes in CACHE_DEBUG mode
remove references to unused cache values