aboutsummaryrefslogtreecommitdiff

This module for Varnish Cache adds to it the ability to look up values in a textual dictionary. A dictionary is a disk file containing on each line a keyword-value pair, separated by arbitrary amount of whitespace. Leading and trailing whitespace is ignored. Empty lines and comments (beginning with '#' as the first non-whitespace character) are allowed.

Two functions are provided: dict.load loads the dictionary from a disk file into hash table, and dict.lookup retrieves value for a given key.

Return to:

Send suggestions and report system problems to the System administrator.