-
-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tile Handling of 204/404 results #1579
Comments
What's the difference between this issue and #1551? Are both tracking the same problem? |
This describes an improved handling of tile responses and caching. #1551 describes a specific problem that might be solved by the improved 204-response handling of this issue. |
…ing' into maplibre#1579-response-204-handling
…ing' into maplibre#1579-response-204-handling
There's an open PR which is waiting for code review comments I believe: I've also refactored the a lot of code around the sources and workers and there's a specific way to handle 404, feel free to add the relevant logic there: |
Handling of tile results 204/404 could be improved:
It would be better, if
(detected by #1551)
maplibre-gl-js version:
2.3.0
browser:
browser-independent
Steps to Trigger Behavior
With a layer whose tile source does not contain all tiles
Link to Demonstration
E.g. https://maplibre.org/maplibre-gl-js-docs/example/3d-terrain/
Expected Behavior
No invalid-format error messages for tile results 204
204/404 results are cached for some time and not reloaded each time
Actual Behavior
Invalid-format error message for tile result 204
Tile requests returning 204/404 are retried again, whenever that tile is needed (e.g. zoom out/in again)
The text was updated successfully, but these errors were encountered: