Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

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.