Skip to content

Latency of map display #8

@georgio8

Description

@georgio8

There is now a lag of ~ 4 secs on opening LCC's consultation map. This is mainly due to the large number of AJAX calls to the Cyclescape server (about 70 of them) to get the issues for TfL and each borough:
Possible actions:

  • batch up the AJAX calls to the CyclesScape API
    ** E.g. could do this with a single call getting all the issues in Greater London, then sorting them on the client side.
    ** a solution where the server does most of the sorting work would be better (simpler and more responsive).
  • Minify the scripts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions