Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

"Data Saving" mode #49

Open
santos-samuel opened this issue May 16, 2020 · 1 comment
Open

"Data Saving" mode #49

santos-samuel opened this issue May 16, 2020 · 1 comment

Comments

@santos-samuel
Copy link

Hello, I would like to make a sugestion:

Add a "Data Saving" feature that would only preload the total github repository size and would then allow to load a folder/file size manually, on click.

This will save not only bandwith but also the number of requests to the GitHub API. Note that after seeing some repos the rate limit is easily exceeded if one is not using his personal token.

@AminoffZ
Copy link

To address this I'm using OAuth to increase users' API call rates to 5000/hour. Check it out, On the point of data saving: It would be quite challenging to know when to rely on stored data and when the user should update. One solution would be to use session storage to store the initial data and then clear it on a page refresh with the service worker.

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

2 participants