Package org.frontcache.bots
package org.frontcache.bots
-
ClassesClassDescriptionDecides a request's visitor type -
bot,guestor a type the file declares with@type <name> like <bot|guest>(VisitorTypes) - and so its client type, the root - from conf/bots.conf.One classification rule from conf/bots.conf: name | condition | verdict [| dry-run].Wire/DTO view of aBotRule- what the management API (get-bots) returns and the console renders, alongside the flatbotKeywordsan older console knows how to read.Parses one line of conf/bots.conf.Theclient="..."attribute of an<fc:include>: which visitors the fragment is resolved for.Wire/DTO view of one visitor type a node knows - a root (bot,guest) or a typebots.confdeclares - forget-bots'visitorTypes(2.13.0) and the console's types table.Top-level requests by visitor type (the leaf), counted where the type is decided - what the exporter reports asfrontcache_visitor_requests_total{type}(2.13.0).The visitor types a node knows: the two roots,botandguest, and the typesbots.confdeclares with@type <name> like <bot|guest>- at most 16, each based on a root.Builds a vocabulary from@typelines, refusing each bad one alone - the file's rule: one bad line costs that line.