Cache

Every time a package is installed, the Agent saves a local copy of the installer files so that future installs/repairs can use the local copy instead of downloading again. This caching occurs automatically and does not depend on cache enabled or offline options being set to 'true'.

The Agent will only clear out cached files when:

  • The package is no longer assigned to that device, and
  • Cached files are unused for a defined period of time (90 days by default, 14 days if already flagged as stale).

Example

{
    "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 to the end user's device. It will remain there even after the session ends, as long as the end user is entitled to it. true
offlineWhen set to 'true', the offline mode will be available for the local device.
When 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.
Default temp path:
  • 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.
Default ${PackageTempDir} path:
  • 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}
autoCleanWhen enabled, removes leftover or orphaned files from the local cache when the following conditions are met:
  • the content is superseded by a new version.
  • the content is no longer entitled to a user and the expireContent period has passed. 

This option does not remove a package's cache if the package is still actively assigned to the device.

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