Understand Content Cache

The Tenable Patch Management Client Cache is a local content repository that the Adaptiva Client uses to store patch content on managed devices. The Adaptiva Client downloads patch content into the cache to share with peers, which keeps content local to maintain availability and reduce repeated network transfers. The client can download content from either peers within the subnet or the parent office.

What Is the Tenable Patch Management Client Cache

The Tenable Patch Management Client Cache is located in the following default locations:

  • Windows: [drive:]\AdaptivaCache

  • Linux and macOS: /opt/tenable/adaptivacache

The AdaptivaCache folder is a hidden folder that the Tenable Patch Management Client uses to store content on endpoint devices. The Tenable Patch Management Client creates the AdaptivaCache folder at the root of every physical (non-removable) drive on a Windows client device. On Linux and macOS devices, the client creates the cache folder in /opt/tenable/adaptivacache. On computers with more than one writable drive, the Tenable Patch Management Client creates an AdaptivaCache folder on each writable drive and stores content on the disk with the most space at the time of download.

Administrators can override the default configuration of the Tenable Patch Management Client Cache to define a custom cache location.

How the Cache Functions

The Tenable Patch Management Client Cache retains content on the device for reuse and sharing. The client does not normally remove content unless a defined condition occurs, such as low disk space, client uninstallation, unpublishing content in Tenable Patch Management, corruption detection, or manual deletion. Do not remove content from the cache manually, because the cache then becomes inconsistent with the client state. During content transfer, the client uses secure hash validation to confirm content integrity. If content fails validation, the client removes the content from the receiving client cache. The client also sends a notification to the machine that provided the content so that the machine can remove the corrupt copy.

When Content Is Deleted from the Cache

Content is rarely removed from the Tenable Patch Management Client Cache, but deletion can occur under the following circumstances:

  • The disk drive becomes full.

    By default, the deletion threshold is 2% or 1 GB of remaining free disk space. When the threshold is met, the client removes content from the cache to make space for the operating system, applications, or end-user activity.

  • The Tenable Patch Management Client is uninstalled without preserving the cache.

    You can choose to preserve the content cache when uninstalling, either by selecting the option in the wizard or by using the -nocachedel command-line switch.

  • The content is deleted from Configuration Manager.

    When you delete content from Configuration Manager, the Tenable Patch Management Server notifies all devices that have the content in the cache to delete it. If you remove content only from a distribution point, the content remains in the cache until you fully delete it from Configuration Manager.

  • The content is unpublished in Tenable Patch Management.

    When you unpublish content from the Tenable Patch Management Server, the server notifies clients to remove the content from the cache.

  • The content is detected as corrupt.

    If secure hash validation fails, the client deletes the content and notifies the sender to remove its copy.

  • The content is manually deleted by someone with the required NTFS permissions.