Skip to content

Reduce getUrl queries [umbrella issue] #96

@gmaclennan

Description

@gmaclennan

A lot of RPC traffic in apps is to get the URLs for attachments and icons. This is unnecessary because the mapping of a blobId or iconId to a URL is deterministic apart from the server port, which currently changes every time the app goes into the background, but once digidem/comapeo-mobile#1364 is addressed, will also be static once the server has started. Due to an unknown issue with RPC on mobile, which is causing slow round-trip RPC requests to the backend, these URL queries are regularly taking >1,000ms, resulting in slow UI rendering.

This is an umbrella issue for removing these requests in stages:

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