Hi,
I have checked that you can set the cache to on in your local environment to allow the views to have the cache configuration enabled when you deploy them in upper environments. By doing that, when you export your views the cache will be enabled and this configuration will be used when importing the VQL file with the views.
But, keep in mind that when you do changes on a view the cache data is invalidated. A fresh cache is always recommended to avoid issues while running the views in the new environment.
In your case, you can launch a query to fill again the cache when you perform any changes in the view.
Hope this helps!