NetX aggressively caches data within the application, which in turns makes the application much more responsive. These caches can be tuned either by navigating to the Caches section within the UI, or by making modifications to the following properties:
Object | Property | Default | Notes and recommendations |
---|---|---|---|
Asset | image.cache_size_asset | 10000 |
This is the often the primary cache that you may want to adjust. Please note increasing this number will potentially increase the need for a larger Java memory heap though it is not uncommon to require much higher values for larger installations with values as high as 100,000 being common. Setting this property higher than 100,000 is not advised however as site performance will begin to suffer. |
Attributes | image.cache_size_attribute | 1000 |
This cache is largely unused, other than managing the cache of attribute templates. Please note increasing this value is not recommended unless you have more than 1000 attributes. |
Category | image.cache_size_category | * |
This property is best left alone. On startup, it will adjust the cache value to 10% more than the number of categories that exist. This value should never be set below the total number of categories in the system. |
File type | image.cache_size_file_type | 1000 | This cache should only be changed if directed to do so by NetX Support. |
Location | image.cache_size_location | 1000 | This cache should only be changed if directed to do so by NetX Support. |
Group | image.cache_size_group | 1000 | This cache should only be changed if directed to do so by NetX Support. |
User | 1000 | This property should be left to its default unless you have a tremendously large number of frequent users. Typically, the default is plenty. | |
User login | image.cache_size_user_login | 1000 | This property should be left to its default unless you have a tremendously large number of frequent users. Typically, the default is plenty. |
Automatically fill the asset cache
Property | Description |
---|---|
cache.autoFill |
To enable auto cache filling, set this property to "true". Note: this is auto-enabled in 8.12. Value options: true, false Requires restart: |
asset.keepCacheFull |
Adding this, and setting it to "true", NetX will periodically fill the asset cache to approximately 50 percent of capacity. Requires restart: |
asset.keepCacheFullPercent |
To increase the percent to fill of your asset cache, set this property to a number between 1 and 85. For example, if you have your Asset cache set at 100,000, and you set this property to "50", then NetX will work to keep the Asset cache filled to 50,000 every 15 minutes. This may require NetX to be configured with more memory, but it may also speed up search results. Requires restart: |
Targeted Logic
The auto-cache filling for Assets system attempts to add assets that are most used first. To accomplish this, the order of preference is as follows:
- Load assets that have been part of folder lists in the last 30 days
- Load assets that have been previewed in the last 30 days
- Fill remaining cache threshold based on modification date of the asset.