> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/getting-started/workspaces/caching.md).

# Caching

The caching mode will determine how the client will refresh the content of the workspace when changes are detected. On large workspaces, caching is essential as it increases performance significantly.

{% tabs %}
{% tab title="Windows" %}
{% hint style="info" %}
This feature is only available when using an [advanced workspace](https://docs.devolutions.net/rdm/workspaces/workspace-types/native-workspaces/). If the cache is outdated, press <kbd>Ctrl</kbd>+<kbd>F5</kbd> to refresh the local cache. This will force the application to retrieve the entire content of the workspace to recreate the cache.
{% endhint %}

### Settings

The ***Caching mode*** option can be accessed via ***File – Workspaces – Edit workspace – Advanced*** in an advanced workspace.

<table><thead><tr><th width="135">OPTION</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>Disabled</td><td>Prevent an offline cache from being used.</td></tr><tr><td>In-memory</td><td>Use the offline cache only for recent changes, but prevent it from writing on the disk (in-memory only).</td></tr><tr><td>File</td><td>Use the offline cache only for recent changes. The cache will write on the disk.</td></tr></tbody></table>

### Location

The client cache is persisted to disk in **%LocalAppData%\Devolutions\RemoteDesktopManager\[GUID:DataSourceID]**.

{% hint style="info" %}
You can enhance the security of the offline file by selecting and setting up the ***Enhanced security*** in ***File – Settings – Security***.Depending on the configuration of the caching mode and the [offline mode](https://docs.devolutions.net/rdm/workspaces/offline-mode/), the offline file may still exist since the file servers as a dual purpose caching and offline line support.
{% endhint %}
{% endtab %}

{% tab title="macOS" %}
{% hint style="info" %}
This feature is only available when using an [advanced workspace](https://docs.devolutions.net/rdm/workspaces/workspace-types/native-workspaces/).
{% endhint %}

The ***Caching mode*** option can be accessed via ***File – Workspaces – Edit workspace – Advanced*** in an advanced workspace.

<table><thead><tr><th width="125">OPTION</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>Disabled</td><td>Prevent an offline cache from being used.</td></tr><tr><td>In-memory</td><td>Use the offline cache only for recent changes, but prevent it from writing on the disk (in-memory only).</td></tr><tr><td>File</td><td>Use the offline cache only for recent changes. The cache will write on the disk.</td></tr></tbody></table>

### Location

You can find the configuration file by doing a right click on your Finder - Go to Folder and in the Folder dialog type \~/Library.

You can then follow the path Application Support/com.devolutions.remotedesktopmanager select the pertaining database where you will find the offline.db file.

The file is an SQLite database encrypted using a non-portable computed key hash.

{% hint style="info" %}
You can enhance the security of the offline file by selecting and setting up the ***Enhanced security*** in ***File – Settings – Security***.Depending on the configuration of the caching mode and the [offline mode](https://docs.devolutions.net/rdm/workspaces/offline-mode/), the offline file may still exist since the file servers as a dual purpose caching and offline line support.
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/rdm/getting-started/workspaces/caching.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
