Skip to content

Commit 36581c4

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into breadcrumb
2 parents 977a6bb + db0c9b7 commit 36581c4

29 files changed

+215
-191
lines changed

articles/active-directory/app-provisioning/scim-graph-scenarios.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ My application is built into Microsoft Teams and relies on message data. In addi
9999
I need to be able to track changes to Teams and Outlook messages and react to them in real time. How can I get these changes pushed to my application?
100100

101101
**Recommendation:** The Microsoft Graph provides [change notifications](https://docs.microsoft.com/graph/webhooks) and [change tracking](https://docs.microsoft.com/graph/delta-query-overview) for various resources. Note the following limitations of change notifications:
102-
- If an event receiver acknowledges an event, but fails to act on it for any reason, the event may be lost
103-
- If an event receiver acknowledges an event, but fails to act on it for any reason, the event may be lost
102+
- If an event receiver acknowledges an event, but fails to act on it for any reason, the event may be lost.
103+
- The order in which changes are received are not guaranteed to be chronological.
104104
- Change notifications don't always contain the [resource data](https://docs.microsoft.com/graph/webhooks-with-resource-data)
105105
For the reasons above, developers often use change notifications along with change tracking for synchronization scenarios.
106106

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Local cache
3-
description: Learn how the local cache work in Azure App Service, and how to enable, resize, and query the status of your app's local cache.
3+
description: Learn how local cache works in Azure App Service, and how to enable, resize, and query the status of your app's local cache.
44
tags: optional
55

66
ms.assetid: e34d405e-c5d4-46ad-9b26-2a1eda86ce80
@@ -15,7 +15,7 @@ ms.custom: seodec18
1515
> Local cache is not supported in Function apps or containerized App Service apps, such as in [Windows Containers](app-service-web-get-started-windows-container.md) or on [App Service on Linux](containers/app-service-linux-intro.md).
1616
1717

18-
Azure App Service content is stored on Azure Storage and is surfaced up in a durable manner as a content share. This design is intended to work with a variety of apps and has the following attributes:
18+
Azure App Service content is stored on Azure Storage and is surfaced in a durable manner as a content share. This design is intended to work with a variety of apps and has the following attributes:
1919

2020
* The content is shared across multiple virtual machine (VM) instances of the app.
2121
* The content is durable and can be modified by running apps.
@@ -32,7 +32,7 @@ The Azure App Service Local Cache feature provides a web role view of your conte
3232

3333
## How the local cache changes the behavior of App Service
3434
* _D:\home_ points to the local cache, which is created on the VM instance when the app starts up. _D:\local_ continues to point to the temporary VM-specific storage.
35-
* The local cache contains a one-time copy of the _/site_ and _/siteextensions_ folders of the shared content store, at _D:\home\site_ and _D:\home\siteextensions_, respectively. The files are copied to the local cache when the app starts up. The size of the two folders for each app is limited to 300 MB by default, but you can increase it up to 2 GB. If the copied files exceed the size of the local cache, App Service silently ignores local cache and read from the remote file share.
35+
* The local cache contains a one-time copy of the _/site_ and _/siteextensions_ folders of the shared content store, at _D:\home\site_ and _D:\home\siteextensions_, respectively. The files are copied to the local cache when the app starts. The size of the two folders for each app is limited to 1 GB by default, but can be increased to 2 GB. Note that as the cache size increases, it will take longer to load the cache. If the copied files exceed the size of the local cache, App Service silently ignores local cache and read from the remote file share.
3636
* The local cache is read-write. However, any modification is discarded when the app moves virtual machines or gets restarted. Do not use the local cache for apps that store mission-critical data in the content store.
3737
* _D:\home\LogFiles_ and _D:\home\Data_ contain log files and app data. The two subfolders are stored locally on the VM instance, and are copied to the shared content store periodically. Apps can persist log files and data by writing them to these folders. However, the copy to the shared content store is best-effort, so it is possible for log files and data to be lost due to a sudden crash of a VM instance.
3838
* [Log streaming](troubleshoot-diagnostic-logs.md#stream-logs) is affected by the best-effort copy. You could observe up to a one-minute delay in the streamed logs.
@@ -72,15 +72,15 @@ You enable Local Cache on a per-web-app basis by using this app setting:
7272

7373
"properties": {
7474
"WEBSITE_LOCAL_CACHE_OPTION": "Always",
75-
"WEBSITE_LOCAL_CACHE_SIZEINMB": "300"
75+
"WEBSITE_LOCAL_CACHE_SIZEINMB": "1000"
7676
}
7777
}
7878

7979
...
8080
```
8181

8282
## Change the size setting in Local Cache
83-
By default, the local cache size is **300 MB**. This includes the /site and /siteextensions folders that are copied from the content store, as well as any locally created logs and data folders. To increase this limit, use the app setting `WEBSITE_LOCAL_CACHE_SIZEINMB`. You can increase the size up to **2 GB** (2000 MB) per app.
83+
By default, the local cache size is **1 GB**. This includes the /site and /siteextensions folders that are copied from the content store, as well as any locally created logs and data folders. To increase this limit, use the app setting `WEBSITE_LOCAL_CACHE_SIZEINMB`. You can increase the size up to **2 GB** (2000 MB) per app. Note that it will take longer to load local cache as the size increases.
8484

8585
## Best practices for using App Service Local Cache
8686
We recommend that you use Local Cache in conjunction with the [Staging Environments](../app-service/deploy-staging-slots.md) feature.

0 commit comments

Comments
 (0)