machine_cache implementation