jerboa icon indicating copy to clipboard operation
jerboa copied to clipboard

Aggressive Cache (Offline Mode)

Open maltfield opened this issue 2 years ago • 2 comments

  • [X ] Did you check to see if this issue already exists?
  • [X ] Is this only a single feature request? Do not put multiple feature requests in one issue.
  • [X ] Is this a question or discussion? Don't use this, use https://lemmy.ml/c/jerboa

** Describe the feature request below **

Feature Request: Please add an option to Jerboa 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

Jerboa 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, Jerboa 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 Jerboa.

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.

maltfield avatar Jun 14 '23 00:06 maltfield

building on the same suggested settings. A setting to automatically listen for new posts in select communities in the background while the app isn't open and save them for offline viewing would be cool. But that's probably beyond the scope of simple caching

NomadicDeveloper22 avatar Jun 14 '23 05:06 NomadicDeveloper22

There should be a setting for Wi-Fi vs data as well. As in, don't download images and videos over data, but do allow fetching posts.

beatgammit avatar Jun 17 '23 16:06 beatgammit