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

[Feature request] Video cache #4903

Closed
mooleshacat opened this issue Sep 8, 2024 · 2 comments
Closed

[Feature request] Video cache #4903

mooleshacat opened this issue Sep 8, 2024 · 2 comments
Labels
feature-request Request of a new feature

Comments

@mooleshacat
Copy link

Is your feature request related to a problem? Please describe.
No. Just an idea that may help with busy public instances.

Describe the solution you'd like

Video caching on disk. Ability to limit size. Prioritize by busiest videos (least busy video gets pruned if too large).

Describe alternatives you've considered

considered yt, but liking invidious much more 👍

Additional context

I think this feature would be good for those with some disk space, and who run busy / public instances

@mooleshacat mooleshacat added the feature-request Request of a new feature label Sep 8, 2024
@Fijxu
Copy link
Contributor

Fijxu commented Sep 9, 2024

Sound cool, but IMO this will not be useful to reduce the load of public instances.
Why? Because there is a lot of people watching different videos, so if invidious caches a video in disk, that video will be fetched by only a very small percent of the people using the instances.
This could work for videos on the popular page.

@unixfox
Copy link
Member

unixfox commented Sep 9, 2024

That's out of scope. Invidious is only meant to be a proxy.

Also by storing the stream the invidious instance would be liable for the accessible content because it doesn't just proxy the stream anymore.

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request of a new feature
Projects
None yet
Development

No branches or pull requests

3 participants