What is Local Cache in Azure WebApp?
Local cache in Azure Web is really a cache that caches the storage of your Web App.
How to enable it?
To enable local cache you should go to your Azure Subscription them navigate to your Web App that you wishs to enable local cache.
Go to "Configuration" section then "Application Setttings" and under "Application settings"
You enable Local Cache on a per-web-app basis by using this app setting:
WEBSITE_LOCAL_CACHE_OPTION = Always
"WEBSITE_LOCAL_CACHE_OPTION": "Always", "WEBSITE_LOCAL_CACHE_SIZEINMB": "300"
By default, the local cache size is 300 MB.
Maybe you don't want to enable it in your staging environments. In that case put the configuration only to the specific slot you're targeting.