BlueMap-Minecraft / BlueMapWeb

A library to load and display Minecraft maps generated by BlueMap.
MIT License
14 stars 13 forks source link

Fetching a lot of the same files without cache. #1

Closed tsutoringo closed 3 years ago

tsutoringo commented 3 years ago

Fetching a lot of the same files without cache. image

Sorry if my English is incorrect. Thanks.

tsutoringo commented 3 years ago

https://github.com/BlueMap-Minecraft/BlueMapWeb/blob/4e81bb4abde65464b1ea66562dcd97040099867f/src/map/Map.js#L205

TBlueF commented 3 years ago

I purposely didn't optimize that because it's a side-effect in preparation for future changes:

In the future there will most likely be a separate settings.json file for each map, and the web-app will need to load them individually. This process should not block the loading of the actual app (should be a background-process) and is only necessary to display the correct world-names in the map-menu.

tsutoringo commented 3 years ago

I see😀 Thanks for the reply!