Aggressive Cache (Offline Mode)
- Ngôn ngữ chính
- TypeScript
- Star
- 1.8k
- Fork
- 174
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### Discussed in https://github.com/aeharding/voyager/discussions/1147
Originally posted by **maltfield** January 4, 2024
** Describe the feature request below **
Feature Request: Please add an option to Voyager to "Aggressively Cache" content (with secondary toggle on/off for caching images)
## Why?
I do a lot of traveling, and I often don't have Internet access. Every few days I may visit a grocery store or a cafe with WiFi, and just after I connect I'll kick-off some downloads on my phone for news, podcasts, email, etc.
Then these apps will download their content in the background (to a cache) while I shop. And after I leave the shop, I can re-visit these apps from my tent where I don't have internet access.
## Solution
Voyager should have an option to cache content in the background. The goal would be that, when enabled, I would just open the app and pull down from the top (or click "refresh") and then lock my phone's screen. But in the background, Voyager will be downloading the top 100 posts of every community that I'm subscribed-to, including the post's body and all of its comments.
Then, hours later when my phone doesn't have internet access, I should be able to browse through all of my communities and view the downloaded posts in Voyager.
I think the following settings would be important for this feature:
1. Cache content for offline use (y/n)?
2. Cache size (MB)
3. Cache images (y/n)?
4. Cache videos (y/n)?
For an example of how this is implemented in another app, see [RedReader](https://github.com/QuantumBadger/RedReader).
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.