Open pratikmdhr opened 2 years ago
Hi @pratikmdhr @dadiorchen I haven't experienced requests being limited. API seems to serve different set of icons instantly, even if different coordinates are passed. As an extra precaution, I disabled cache for the local port the Docker container was bound to. Not sure what may be causing @pratikmdhr to experience the issues demoed last week.
.
@kparikh9 can you try this:
/1/1/1.png
@dadiorchen changing between:
/1/1/1.png
/1/1/1.png?icon=suit1
/1/1/1.png?icon=suit2
/1/1/1.png?icon=suit3
outputs the same picture:
I don't think anything is wrong with the code - is there any type of console/logger in Digital Ocean that can show if served images are being cached or not?
Sorry, I didn't express it clearly, I just use 'suit1' for an example, you should replace it with the correct value, I saw in your video, when you visited: /1/1/1.png?icon=o then you switched to /1/1/2.png?icon=ptk-s, it then changes to visiting another file, I need you keep the file the same, (/1/1/1.png) and change the parameter/query, (/1/1/1.png?icon=ptk-b)
I will find a way to share you the login credential to check the log on digitalocean
I can not find any potential cache interefrance.
Sorry, I didn't express it clearly, I just use 'suit1' for an example, you should replace it with the correct value, I saw in your video, when you visited: /1/1/1.png?icon=o then you switched to /1/1/2.png?icon=ptk-s, it then changes to visiting another file, I need you keep the file the same, (/1/1/1.png) and change the parameter/query, (/1/1/1.png?icon=ptk-b)
@dadiorchen No worries. I had already checked this before making the original video. The tiles are served correctly when changing the icon parameter. If there isn't any cache interference then I'm not sure what the issue is?
Description Tile server is limiting the number of requests from the map client for the tree icons. Right now only 1 request per minute is going through, if more than 1 request is made within 1 minute for a new set of icons, the map client doesnt receive the new icons but strangely the status code is still 200.
Also, the issue seems to be related to one particular zoom level, meaning, if icon is switched in less than 1 minute, the new icon wont show up in that zoom level, but if the map is zoomed in, the new icons appear