How to cache images for offline use in Kodular?

HI dear,

Welcome to the :kodular:odular community!

There are several extensions that can make your work easier, the main ones are these.

As for doing this with native blocks, you just need to create a dictionary in TinyDB with the image URL as the key and the image itself as the value.
When you request an image from a URL, you first check whether it’s present in the dictionary, if it is, you load it from TinyDB, if not, you download it.

1 Like