Skip to content

Optimize fetch calls for get element #89

Description

@Syndesi

Currently fetch calls only happen during get element calls, if the element is not already cached.
While this usually limits the amount of fetch calls to 1, it does not work if multiple get element calls for the same element happen close together, before any of the fetch calls are finished.

This might be resolved by keeping already started fetch calls/promises inside a cache, and returning already existing promises, if a match is found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImproving existing functionalities.PerformanceImproving general performance.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions