Skip to content

Consolidate the requests required to start up the client app #682

Closed
@jacobwod

Description

@jacobwod

This is not nice:
Skärmavbild 2021-02-24 kl  13 03 19

I have mainly two concerns with the loading sequence above:

  1. Three request go out from the same API - i.e. they could be consolidated server-side and sent back as one request
  2. Response to config/layers includes the entire layers directory for all Hajk maps on this server - not only those used by this specific map config. This leads to unnecessarily large file size.

This can be fixed pretty easily by modifing the backend and adjusting load sequence in client.

My intent is to fix this for the NodeJS-based backend. Feel free to fix the .NET-backend if you're depending on it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions