Skip to content

Commit 906499f

Browse files
authored
Merge pull request #79452 from anandanthony/patch-4
Use of WEBSITE_DISABLE_SCM_SEPARATION with Local Cache
2 parents adab628 + 8c0e821 commit 906499f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/app-service/overview-local-cache.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ As part of the step that copies the storage content, any folder that is named re
121121
### How to flush the local cache logs after a site management operation?
122122
To flush the local cache logs, stop and restart the app. This action clears the old cache.
123123

124+
### Why does App Service starts showing previously deployed files after a restart when Local Cache is enabled?
125+
In case App Service starts showing previously deployed files on a restart, check for the precense of the App Setting - '[WEBSITE_DISABLE_SCM_SEPARATION=true](https://github.com/projectkudu/kudu/wiki/Configurable-settings#use-the-same-process-for-the-user-site-and-the-scm-site)'. After adding this setting any deployments via KUDU start writing to the local VM instead of the persistent storage. Best practices mentioned above in this article should be leveraged, wherein the deployments should always be done to the staging slot which does not have Local Cache enabled.
126+
124127
## More resources
125128

126-
[Environment variables and app settings reference](reference-app-settings.md)
129+
[Environment variables and app settings reference](reference-app-settings.md)

0 commit comments

Comments
 (0)