Replace metadata with cache in all init files.