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

Cache results #3

Open
DvvCz opened this issue Sep 2, 2024 · 0 comments
Open

Cache results #3

DvvCz opened this issue Sep 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DvvCz
Copy link
Owner

DvvCz commented Sep 2, 2024

Fetching subscriptions might be heavy for Invidious instances (1 request per subscription), especially with users that may have hundreds of them.

For both better performance for users and courtesy to the server, it should be cached at the very least to a few requests per minute.

Smart subscriptions

One idea I have for less requests is to re-ping a channel dependent on how often they have uploaded in the last year.

For example, a large news channel that posts multiple videos daily could be refetched every <5 minutes.
Or a youtuber that rarely ever posts should rarely be checked.

@DvvCz DvvCz added the enhancement New feature or request label Sep 2, 2024
@DvvCz DvvCz changed the title Cache subscriptions Cache results Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant