caching.conf

This file defines the caching behavior of data.get as well as the maximum cache size enforced by data.cache.clean. Only a global version exists in $DB/etc/caching.conf.

Format

Lines beginning with '#' are treated as comments. The format consists of a CSV separated list of key and optional value pairs. Keys are case insensitive.

The valid keys are listed below.

MaxSizeStation

The maximum size in megabytes for a station's cache before it is pruned on the next call of data.cache.clean.

Cache

Define a data source as being cachable. Note that only raw, clean, and edited data are automatically managed in terms of invalidation. Any others must be managed manually with data.cache.invalidate.