Options

Description

Name

struct Tinman.Pyramid.Cache.Options

Used by

Cache.options

Options for a file-based pyramid cache.

Fields / Optional

size

Type

number

Constraint

# >= 0

Default

1024

The maximum size of the pyramid file cache, in megabytes.


percent

Type

number

Constraint

# >= 0 && # <= 100

Default

25

The maximum size of the pyramid file cache, given as a percentage of the free storage space of the directory that contains the cache file.


age

Type

number

Constraint

# >= 0

Default

0

The maximum age of tiles in the pyramid file cache, in seconds.