maplibre/martin

Make the tile source cache configuration per source configurable

Aperta

#1137 aperta il 17 gen 2024

 (3 commenti) (3 reazioni) (0 assegnatari)Rust (377 fork)auto 404
configgood first issuehelp wantedrustserving

Metriche repository

Star
 (3761 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (78 PR mergiate in 30 g)

Descrizione

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

Guida contributor