cachereg

CACHE REGISTRATION SERVICE

This section contains configurations needed for the (optional) cache announcement service. This service is provided to help cache administrators locate one another in order to join or create cache hierarchies. An announcement message is sent (via UDP) to the registration service by Squid. By default, the announcement message is NOT SENT unless you enable it with announce_period below.

All current information is processed regularly.

announce_period

announce_host

announce_port

announce_file

TAG NAME

announce_period

Description

Defines the rate of sending announcement messages

Built Option

Default

Usage

announce_period units

Default

announce_period 0

Synopsis
This tag refers to the frequency at which Squid will send announcement messages to the announce host. Defaults to 0 which stops sending announcement messages.

Arguments

units

Announce time period

Example(s)
announce_period 10

TAG NAME

announce_host

Description

Used to define the host address to which Squid will send announcement message to participate in the cache hierarchy

Built Option

Default

Usage

announce_host hostname

Default

announce_host tracker.ircache.net

Synopsis
announce_host defines the host for sending announcement messages to get participated in the cache hierarchy.

Arguments

hostname

Host name for announcement message

Example(s)
announce_host cache.ircache.net

TAG NAME

announce_port

Description

Port through which Squid sends announcement message to participate in the cache hierarchy

Built Option

Default

Usage

announce_port portnumber

Default

announce_port 3131

Synopsis
announce_port defines the port to send announcement message for participating in the cache hierarchy.

Arguments

portnumber

Port where Squid binds the socket

Example(s)
announce_port 3132

TAG NAME

announce_file

Description

Defines the file whose contents to be sent along with the announcements

Built Option

Default

Usage

announce_file filename

Default

-

Synopsis
announce_file contains message to be sent with announcements.

Arguments

filename

File whose content to be sent

Example(s)
announce_file /usr/local/file1