Test cache [Dirty!]
log cache infos only in debug mode - fix #7