UserAgentCacheConfig

UserAgentCacheConfig
UserAgentCacheConfig
JSON Example
{
    "batch_size": 0,
    "controller_cache_size": 0,
    "max_age": 0,
    "max_last_hit_time": 0,
    "max_upstream_queries": 0,
    "max_wait_time": 0,
    "num_entries_upstream_update": 0,
    "percent_reserved_for_bad_bots": 0,
    "percent_reserved_for_browsers": 0,
    "percent_reserved_for_good_bots": 0,
    "percent_reserved_for_outstanding": 0,
    "se_cache_size": 0,
    "upstream_update_interval": 0
}
integer As uint32 As uint32
batch_size
Optional
Constraints: default: 100

How many unknown User-Agents to batch up before querying Controller - unless max_wait_time is reached first. Allowed values are 1-500. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
controller_cache_size
Optional
Constraints: default: 300000

The number of User-Agent entries to cache on the Controller. Allowed values are 500-10000000. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
max_age
Optional
Constraints: default: 86400

Time interval in seconds after which an existing entry is refreshed from upstream if it has been accessed during max_last_hit_time. Allowed values are 60-604800. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
max_last_hit_time
Optional
Constraints: default: 86400

Time interval in seconds backwards from now during which an existing entry must have been hit for refresh from upstream. Entries that have last been accessed further in the past than max_last_hit time are not included in upstream refresh requests even if they are older than 'max_age'. Allowed values are 60-604800. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
max_upstream_queries
Optional
Constraints: default: 5

How often at most to query controller for a given User-Agent. Allowed values are 2-100. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
max_wait_time
Optional
Constraints: default: 60

The time interval in seconds after which to make a request to the Controller, even if the 'batch_size' hasn't been reached yet. Allowed values are 20-100000. Field introduced in 21.1.1. Unit is SEC. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
num_entries_upstream_update
Optional
Constraints: default: 100

How many BotUACacheResult elements to include in an upstream update message. Allowed values are 1-10000. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
percent_reserved_for_bad_bots
Optional
Constraints: default: 20

How much space to reserve in percent for known bad bots. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
percent_reserved_for_browsers
Optional
Constraints: default: 50

How much space to reserve in percent for browsers. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
percent_reserved_for_good_bots
Optional
Constraints: default: 20

How much space to reserve in percent for known good bots. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
percent_reserved_for_outstanding
Optional
Constraints: default: 10

How much space to reserve in percent for outstanding upstream requests. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
se_cache_size
Optional
Constraints: default: 20000

The number of User-Agent entries to cache on each Service Engine. Allowed values are 500-10000000. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

integer As uint32 As uint32
upstream_update_interval
Optional
Constraints: default: 3600

How often in seconds to send updates about User-Agent cache entries to the next upstream cache. Field introduced in 21.1.1. Unit is SEC. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.