Name

announce_period

Synopsis

Squid’s announcement feature allows Squid administrators to find nearby caches that might be interested in joining a cache hierarchy. When you enable this directive, Squid periodically sends a small announcement message to a central server. By default, the announcement message contains five fields:

  • The IP address and hostname that sent the announcement

  • The Squid version

  • The hostname Squid uses internally—either your hostname if Squid can figure it out or the value of the visible_hostname directive

  • The value of the cache_mgr directive

  • The date and time of the announcement

Setting announce_period to 0 disables the announcement feature.

Syntax

announce_period time-specification

Default

announce_period 0

Example

announce_period 4 hours

Related

announce_host, announce_file, announce_port

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.