-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Send 404 error in case of compressed file not exists #3508
Comments
Thanks we'll look at this as part of #3241. |
@SunBlack let me know if you run into any issues. |
Well I had now time to test ist. In my opinion removing gzip compression isn't best solution - or isn't there another solution in case file not exists? |
Tiles can still be served pre-gzipped, we just don't pre-gzip the test data so it is easy for developers to work with. |
My tiles are currently pre-zipped, but because of missing http header not extracted by browser. So maybe an it is possible to add an option to default server implementation, like --port, to enable compression support? |
That is a good idea that we can consider. In the meantime, you want to not pre-gzip or add a header like: res.header('Content-Encoding', 'gzip'); |
Since revision 90fd9f5 you don't get anymore a 404 error in case your browser want to load a tile which not exists. Instead you get always a ERR_CONTENT_DECODING_FAILED (same message occurs in case tile data are not gzip compressed, so you don't see anymore if a tile couldn't be loaded because of tile data are missing or data are not compressed).
I could preorduce this issue with all gzip compressed files (b3dm, pnts, i3dm and cmpt).
The text was updated successfully, but these errors were encountered: