@Gergő Sz
Thanks for reaching here! Could you please see if WEBSITE_RUN_FROM_PACKAGE
is set to "1"
in application settings. This setting doesn't extract the package content to the D:\home\site\wwwroot directory of your app. Instead, it uploads the ZIP file as-is to D:\home\data\SitePackages, and creates a packagename.txt in the same directory, that contains the name of the ZIP package to load at runtime. Refer: https://learn.microsoft.com/en-us/azure/app-service/deploy-run-package
Also, you may want to know that Azure Web Apps have two settings, WEBSITE_DYNAMIC_CACHE
and WEBSITE_LOCAL_CACHE_OPTION
, that control their file caching behavior. By default, web apps do not read files directly from the Azure Storage where published files are written. You can set the app settings WEBSITE_DYNAMIC_CACHE=0
and WEBSITE_LOCAL_CACHE_OPTION=Never
to disable all file caching.
Refer to this detailed blog post on: Azure Web App Not Updating After Publish
See https://learn.microsoft.com/en-us/azure/app-service/overview-local-cache
Let us know if further query or issue remains.