Feature Request: Pre-cache Media thumbnails.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
It would be great to have an option to pre-cache images for the media view (throttled) in the background.
I loaded about 20k images into Nextcloud, then spent 3 days generating previews for them. I notice the media view downloads the thumbnails as needed and put a ton of load (DDOS) style to my server if I scrolled through them all.
In order to work around this I scrolled the media view at my desk a page at a time for a couple days. Once all the images are cached it works great.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the media view requests and caches thumbnails, then identify the existing background-work and configuration entry points. The feature is complete when users can optionally pre-cache media thumbnails with throttling, without overwhelming the server, and the behavior is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100