Cache

These options control cache settings.

{
    "cache": {
        "enabled": true,
        "offline": true,
        "path": "Cache",
        "tempPath": "Temp",
        "packageTempPath": "${TEMP}",
        "autoClean": true, 
        "expireContent": 90
    }
}
KeyDescriptionDefault
enabledWhen an identity is entitled to a package, the package is automatically downloaded and cached on the end-user device. It will remain there even after the session ends, as long as the end-user is entitled to it. When the entitlement is removed, the cache is cleaned depending on how autoClean and expireContent are configured.
offlineIf set to true, the offline mode will be available for the local device. If set to false, the packages marked offline will not be automatically downloaded and the Application Workspace Launcher won't switch to offline mode.true
pathThe location on the local device where all the content used by the Agent is cached. Note that this path must be relative to the Application Workspace directory. By default, this path is configured to:
  • Windows: %ProgramData%\Liquit\Agent\Cache
  • macOS: /Library/Caches/Liquit/Agent/Cache
Cache
tempPathThe temp directory on the local device, used for uploading folders to the Application Workspace. By default, this path is configured to:
  • Windows: %ProgramData%\Liquit\Agent\Temp
  • macOS: /Library/Application Support/com.liquit.Agent/Temp
Temp
packageTempPathWhen an Application Workspace app is entitled to a user, it is automatically deployed in the local cache directory: %ProgramData%\Liquit\Agent\Cache. The name of the app will actually be a GUID with the .dat extension. Once it gets installed on the local device, the app is copied in the directory configured for the ${PackageTempDir} variable and renamed to its true name. By default, the path of ${PackageTempDir} is configured to:
  • Windows: %LOCALAPPDATA%\Temp\ <package-id>
    For example: C:\Users\< Username >\AppData\Local\Temp\ <package-id> 
  • macOS: $TEMP/<package-id>
    For example: /var/folders/rm/<device-id?>\T\ 
${TEMP}
autoCleanIf enabled, the stale content from the local cache of devices is automatically deleted if one of the following conditions are met:
  • the content is superseded by a new version.
  • the content is no longer entitled to a user and the period of time set in the expireContent has passed. 
true
expireContentThe period in days after which the local cache of devices is deleted automatically if it meets one of the conditions defined above for the autoClean.90