do_cache_ref isolated WIP