Closed lhapaipai closed 2 years ago
This makes absolutely sense and looks like a simple but useful enhancement.
Yeah, that would be nice. Right now, I'm doing this in the reverse proxy. Small-scale tiles are pre-generated and go to my "static" backend, while large-scale tiles get rendered dynamically.
Would be nice to wrap this up in the backend.
The cache_limits
settings in https://t-rex.tileserver.ch/doc/reference/#tileset should do this!
I wonder if it possible to pre-generate the tiles with a low level of zoom, those which are generally the most supplied and therefore take a long time to load and on the other hand to leave to the server the care of dynamically serving the tiles with high level of zoom ?
I am thinking of this option with the cache.file (no for cache.s3) we will specify in the cache configuration a max zoom, we are launching a generation of tiles. And after starting the server, for each request, it checks if it has the cached file otherwise it generates it.
Thanks.