invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Feature request] custom preload time cache size

Open rezad1393 opened this issue 3 months ago • 2 comments

Is your feature request related to a problem? Please describe. right now invidious has a 90 second preload-cache size when watching videos. my internet is not fast so loading is slow. so if I want to seek into ,say, two minute later in video I have to wait for video to cache again.

Describe the solution you'd like allow user to increase cache size to more.

rezad1393 avatar Sep 21 '25 19:09 rezad1393

It's a default value in videojs, the video player of invidious, not something we decided on.

I understand the need. Meanwhile, if you are hosting invidious yourself, you can modify the values yourself. Here is an example: https://github.com/yewtudotbe/invidious-custom/blob/master/patches/005-decrease-buffer-seconds-for-saving-bandwidth.patch.disabled

unixfox avatar Sep 21 '25 20:09 unixfox

I think we can still add an option for it, should be easy to add. Can be made just like we handle const video_data in JS files.

Fijxu avatar Sep 23 '25 03:09 Fijxu