Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Improve caching of individual requests #162

Open
armenzg opened this issue Mar 29, 2018 · 0 comments
Open

Improve caching of individual requests #162

armenzg opened this issue Mar 29, 2018 · 0 comments

Comments

@armenzg
Copy link
Contributor

armenzg commented Mar 29, 2018

When we fetch for a raw diff (or a changeset's metadata) and it is not on the local cache we don't get the ability to store the new data into the local cache. See https://github.com/mozilla/firefox-code-coverage-frontend/blob/master/src/utils/hg.js#L25

Also, if there's no local cache available then the individual fetch becomes the whole data stored in the cache.

This will not always be noticeable to the user, however, it will be on some edge cases.

In any case, I believe the code could handle individual fetches in a more beautiful way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant