Skip to content

Make synchronous code format details first and then cache #33

@UmanShahzad

Description

@UmanShahzad

Currently the code retrieves results, caches that, and then formats and returns. This means even if the results are in the cache, we go through a formatting step.

As an optimization, especially in batch ops, we should retrieve -> format -> cache, so that formatting isn't happening unnecessarily on cached details.

(The async code in #32 will already do this, so this fix is mostly for the synchronous code).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions