node: set inv_cache to 0 by default