Skip to content

Add caching #4

@ItsDrike

Description

@ItsDrike

Currently, each time load_version / load_common_data is called, it will perform a fresh load from disk, this isn't ideal, as even if the version number is different, the manifest will be the same, and it's likely that this will end up getting called with the same version too, so caching here would be nice.

That said, it is possible that some people might just want a very specific part of the data and if we cache by default, we'd hold all of the data in memory, which, while not that terrible, is still a fair bit of data, so caching should probably be toggleable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: apiRelated to core public API of the projectp: 3 - lowCan be done when there's time; nice-to-have things, doesn’t impact other taskss: staleHas had no activity for a while (might get closed for inactivity/marked up for grabs soon)t: featureNew request or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions