Is there a general rule or rule of thumb when I should cache a photo?
For example, I have a grid view of smaller icon images. This page is not at the beginning of the application, so there is no guarantee that the user will see it, these images can change on the server side, but for the most part they will not. Do I have to cache them because they are so many or not bother because they are small?
Another example would be if I click on one of the images mentioned above, it will lead me to a view with one large image, should this image be cached as it is larger or should I allow the user to make a network request every time?
I am not looking for an answer to these specific questions, but rather a guide.
To clarify using caching, I mean saving the file for storage. Also, is there a better way than this?
Thanks for the help!
source
share