This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong.
xxxxxxxxxx
====== Cache management utility ======
{{indexmenu_n>4}}
CCU - Cache Control Utility
CCU is designed to load data into the cache, manage its content and collect statistics. The utility supports a flexible configuration which includes all the specified parameters.
======= CCU configuration =======
The main configuration file is the //__/etc/ccu/ccu.conf__//. The configuration in this file is specified using the [[https://ru.wikipedia.org/wiki/YAML|YAML]] format.
===== YAML format =====
The basic elements of the [[https://ru.wikipedia.org/wiki/YAML|YAML]] format are:
* "Key-Value" pair, for example:\\ ''default: offpeak''\\
* value sequence, for example:\\ ''- "00:00:00 - 01:00:00"''\\ ''- "17:00:00 - 23:59:59"''
It is possible to create complex data structures based on the basic elements.
One of the principles describing complex structures laid down in the [[https://ru.wikipedia.org/wiki/YAML|YAML]] format is the formatting nested elements rule using indents from the beginning of the line. Elements located on the same hierarchy level must have the same number of leading spaces, for example, the following text:
<code bash>
#
# Time classes
time_classes: # Defines the classes of time
default: offpeak # Specifies the default value for time classes
# All others items define the names of time classes and rules for them definition
# Each rule is started from the name of day category and contains
# the list of ranges of times in form "HH:MI:SS-HH:MI:SS"
peak: