package
0.21.2
Repository: https://github.com/go-spatial/tegola.git
Documentation: pkg.go.dev

# README

FileCache

filecache uses a file system for caching tiles. To use it, add the following minimum config to your tegola config file:

[cache]
type="file"
basepath="/tmp/tegola-cache"

Properties

The filecache config supports the following properties:

  • basepath (string): [Required] a location on the file system to write the cached tiles to.
  • max_zoom (int): [Optional] the max zoom the cache should cache to. After this zoom, Set() calls will return before doing work.

# Functions

New instantiates a Cache.

# Constants

# Variables

# Structs