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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.