maplibre/martin

Make the tile source cache configuration per source configurable

Open

#1,137 opened on Jan 17, 2024

 (3 comments) (3 reactions) (0 assignees)Rust (377 forks)auto 404
configgood first issuehelp wantedrustserving

Repository metrics

Stars
 (3,761 stars)
PR merge metrics
 (PR metrics pending)

Description

Each tile source cache should be configurable, at least to be able to selectively enable/disable cache, but possibly more advanced.

Steps:

  • Add a boolean or a tri-state enum to each tile source config to allow cache=enable|disable|auto. The auto setting (default) should be the same as enable for now, but may become more complex in the future.
  • Make cache configurable per source type (postgres vs mbtiles vs pmtiles)
  • For postgres, make cache configurable for all auto-discoverable tables / functions

Contributor guide