Adds cache_policy to layers