github yanus171/Handy-News-Reader v0.10.6.beta
Storage redesign to improve performance

latest releases: v0.19.15, v0.19.7, v0.18.18...
5 years ago
  • Settings, Additional, Data folder
  • Settings, Automatic refresh, Delete read articles
  • New downloaded files system (see text below)
  • It's recommended to clear app data and restore from autobackup.opml

For the long time I was thinking about a large size of sqlite db (150MB -3000 articles) as a source of lags in ui when switching between feeds (#34) and when app starts
So I decided to move article full texts to separate files. And that have given the result: the app db size is 7MB and the lags disappeared.

So from this app version article html full texts 8are stored in ..feedex/html folder.
To see the performance improvement you should reload all articles: auto backup feed data, clear data and start the app - so the restoration process would begin.

Also I have changed the downloaded images filename format to make it more independent, so there should be no need to reload them after data restoration. But the negative consequence is that in this app version the loaded images are no longer valid. The images will be downloaded again for new or opened articles. To save free space the first Refresh operation would remove all previous loaded images (now useless). And all other files in feedex/images/ folder. So this folder would contain only images from existing articles and no other files.
To return all your cached images clear app data and restore

By the way the storage management is important. Android phone free memory is always a headaches. I have no huge games or office apps on my phone. But I always lack free space. I had no free space on HTC Desire 512 Mb memory size with Android 2 in the past. I have problems with free space now on Redmi3s 10Gb with Android 9.

I have redesigned the Custom storage preference in additional category. It's name is Data folder now. And it became a select list of all available storage variants: cache, phone memory and sdcard (of exists). No need to enter custom paths. I solved the problem of permission denied when trying to store downloaded files on external sdcard for Android 8+. If you want the app to store the files on sdcard the only valid path is sdcard/data/data//files/ (feedex)... You should not enter it manually - just select storage item in preferences.

And to save free space even more there is a new preference Automatic refresh - Delete read articles

Don't miss a new Handy-News-Reader release

NewReleases is sending notifications on new releases.