Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more aggresive caching for GitHub #15

Open
ErdaradunGaztea opened this issue Aug 28, 2022 · 0 comments
Open

Use more aggresive caching for GitHub #15

ErdaradunGaztea opened this issue Aug 28, 2022 · 0 comments
Assignees
Labels
code upgrade Enhancements to the existing code

Comments

@ErdaradunGaztea
Copy link
Collaborator

When listing repos, we can avoid performing pagination by sorting by created or updated instead of full_name. Or perhaps use conditional requests (https://docs.github.com/en/rest/overview/resources-in-the-rest-api#conditional-requests) to check if the cache expired. Or, preferably, combine both.
If sorting by updated, we can also optimize checking for DESCRIPTION files; re-check only those that were updated since then.

@ErdaradunGaztea ErdaradunGaztea added the new feature New feature or request label Aug 28, 2022
@ErdaradunGaztea ErdaradunGaztea self-assigned this Aug 28, 2022
@ErdaradunGaztea ErdaradunGaztea added code upgrade Enhancements to the existing code and removed new feature New feature or request labels Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code upgrade Enhancements to the existing code
Projects
None yet
Development

No branches or pull requests

1 participant