Hyperlinking service settings
The following settings for the Hyperlinking premium server-side component are optional. These settings should be added to the
application.conf file described in Required configuration for the server-side components.
The Link checker has three configurable settings:
Used to enable (
true) or disable (
false) the Link-checking service. This setting is
true by default.
enabled = true
The Link-checker normally relies on the
HEAD response. If
true, the link-checker may issue a
GET request after receiving a non-standard
HEAD response to verify a link. When
true, the Link checker can correctly identify working URLs that return non-standard
HEAD replies. Enabling the
fallback-to-get setting can lead to server performance issues and is set to
false by default.
fallback-to-get = true
This element configures the Link Checker service’s built-in cache. When a hyperlink is checked and confirmed valid, the result is cached to save unnecessary network traffic in the future.
Default settings are automatically configured, meaning these settings are optional.
capacity- sets the capacity of the cache. The default setting is
timeToLiveInSeconds- sets the time-to-live of elements of the cache, measured in seconds. This is the maximum total amount of time that an element is allowed to remain in the cache. The default setting is
86400seconds, which is one day.
timeToIdleInSeconds- sets the time-to-idle of elements of the cache, measured in seconds. This is the maximum amount of time that an element will remain in the cache if it is not being accessed. The default setting is
3600seconds, which is one hour.
capacity = 500
timeToLiveInSeconds = 86400
timeToIdleInSeconds = 3600