Cache sharing between multiple Edge sessions

The Edge cache is controlled by a few settings. This is a limitation of the EdgeView2 control, which requires a unique folder as opposed to defined settings. Trying to share caches with conflicting settings will prevent the EdgeView2 control from loading, thus leading to a blank screen.

Here are the settings that affect sharing a cache between multiple Website sessions using Microsoft Edge:

In Remote Desktop Manager settings

  1. Language code (in entry PropertiesCommonGeneralAdvanced).
    Language code
    Language code
  2. SmartScreen (in entry PropertiesCommonGeneralGeneral)
    SmartScreen option
    SmartScreen option
  3. Enable Single Sign-On with Windows accounts (FileSettingsTypesSessionsWebsiteMicrosoft Edge).
    Enable Single Sign-On
    Enable Single Sign-On

These settings need to be appended to the Microsoft Edge’s cache folder path. Here are some examples:

C:\Users{user}\AppData\Local\Devolutions\RemoteDesktopManager\WebView2.Cache\de\EBWebView
C:\Users{user}\AppData\Local\Devolutions\RemoteDesktopManager\WebView2.Cache\SingleSignOn\EBWebView
C:\Users{user}\AppData\Local\Devolutions\RemoteDesktopManager\WebView2.Cache\de\DisableSmartScreen\SingleSignOn\EBWebView

Profile

A profile then needs to be specified using the Edgeview2 control, which allows for various cache matching configurations.

  1. Private mode: This mode has its own private profile consisting of a profile name – if it exists – and the entry’s ID.
  2. Profile name: This profile allows sharing with all other sessions that match the three settings previously defined in Remote Desktop Manager and the profile name.
  3. No profile name: This profile allows sharing with all other sessions that match the three settings previously defined in Remote Desktop Manager without a profile name (it reverts to a hard-coded folder name).

Clear cache on startup

With all this configured, the setting Clear cache on startup can be enabled. From then on, the cache will be cleared when first launching a session, and any subsequent sessions will not have theirs cleared until all are closed and a new one is launched.

Devolutions Forum logo Give us Feedback