Skip to main content
Version: Release 24.1

Enable Caching in Release

Add the following entries to the xl-release.conf file to enable caching in Release.

xl.cache.ci-reference-types.enabled=true
xl.cache.task-types.enabled=true
xl.cache.release-rows.enabled=true
xl.cache.security.enabled=true
xl.cache.security-user.enabled=true

You can enable caching for the following for better performance.

There are 2 types of reference type related caches.

  • ci-reference-types: This type is used for caching various configuration types, which is not very common. Default value is xl.cache.ci-reference-types.enabled=true.
  • task-types: This type of caching is utilized to store task types that serve as dependencies for certain gate tasks. As task types are altered very rarely, this cache significantly reduces the number of database accesses required, resulting in improved performance. Default value is xl.cache.task-types.enabled=true.

Release JSON Cache

This caching option saves you from loading content from the database unnecessarily. Default value is xl.cache.release-rows.enabled=false.

Note: It is safe to enable this cache only in standalone mode (when Release runs on a single node).

Whenever the release-rows cache is enabled in a clustered environment, a warning is logged.

Security Cache

This cache stores roles and permissions data. Default value is xl.cache.security.enabled=false.

Note: Cache entries are evicted when there are any changes (additions, updates, or deletions) made to roles or permissions.

Security-user Cache

This cache stores users and user-profiles data. Default value is xl.cache.security-user.enabled=true.

Note: Cache entries are evicted when there are any changes (additions, updates, or deletions) made to users or user-profiles.