Skip to content

Commit 0facecf

Browse files
Update overview-local-cache.md
1 parent 06b50e5 commit 0facecf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ The Azure App Service Local Cache feature provides a web role view of your conte
3737
3838
## How the local cache changes the behavior of App Service
3939
* _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.
40-
* 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 you've increased local cache limit to 2 GB and the copied files exceed the maximum size of 2 GB, App Service silently ignores local cache and reads from the remote file share. Note that deployment and swapping operations may fail with an error when no limit is defined or if the copied files exceed the defined limit. See the [FAQ](#frequently-asked-questions-faq) for more information.
40+
* 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 you've increased local cache limit to 2 GB and the copied files exceed the maximum size of 2 GB, App Service silently ignores local cache and reads from the remote file share.
41+
> [!IMPORTANT]
42+
> When the copied files exceed the defined Local Cache size limit or when no limit is defined, deployment and swapping operations may fail with an error. See the [FAQ](#frequently-asked-questions-faq) for more information.
43+
>
4144
* 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.
4245
* _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.
4346
* [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.
@@ -101,8 +104,8 @@ We recommend that you use Local Cache in conjunction with the [Staging Environme
101104

102105
## Frequently asked questions (FAQ)
103106

104-
### What if the Local Cache size exceeds the size limit?
105-
When the copied files exceed the Local Cache size limit, deployment and swap operations may fail with an error. See the table below for size limits and results.
107+
### What if Local Cache size limit is exceeded?
108+
When the copied files exceed the Local Cache size limit, the app will read from the remote share. However, deployment and swap operations may fail with an error. See the table below for size limits and results.
106109

107110
| **Local Cache size** | **Coped files** | **Result** |
108111
| --- | --- | --- |

0 commit comments

Comments
 (0)