Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Global cache in APIService #151

Open
Mondei1 opened this issue May 16, 2019 · 0 comments
Open

Global cache in APIService #151

Mondei1 opened this issue May 16, 2019 · 0 comments
Labels
frontend Only relevant for our frontend performance Notably performance improvement
Milestone

Comments

@Mondei1
Copy link
Member

Mondei1 commented May 16, 2019

It would increase the performance of our frontend a lot If we cache all previous fetched information. For example: If we fetched all tags at startup why fetching them again? We can execute in an interval of one minutes a function that fetches all data.

So, when a component executes api.getLatestDocuments() or api.getAllTags() these functions does not longer return a response from the backend but a local object which has all data already stored.

@Mondei1 Mondei1 added frontend Only relevant for our frontend performance Notably performance improvement labels May 16, 2019
@Mondei1 Mondei1 added this to the v0.x-NEXT milestone May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frontend Only relevant for our frontend performance Notably performance improvement
Projects
None yet
Development

No branches or pull requests

1 participant