Wunderfitz/harbour-piepmatz

Caching for profile images (if possible)

andywuest opened this issue · 1 comments

Hi,

caching for profile images would be nice (if possible) - since i only follow a few people, but the images disappear from time to time and need to be downloaded which is just a waste of bandwidth (i have one 100MB free before going to isdn speed).
I hope that twitter has some etag for or caching information in place.

thanks

Hi @andywuest,

Piepmatz uses the standard QML means to load and display images by using the Qt Quick Image component. According to its documentation, they are automatically cached, see https://doc.qt.io/archives/qt-5.6/qml-qtquick-image.html#cache-prop. So at least as long Piepmatz runs, you should be fine with respect to reloads.

However, beyond that I have no plans of introducing a more sophisticated caching mechanism in Piepmatz. But I can leave it open as feature request in case somebody wants to pick it up.