also consider you may be doing caching wrong
wtf are you storing the original image for? resize and optimize it
also consider you may be doing caching wrong
wtf are you storing the original image for? resize and optimize it
I want a centralized server scaling images. The scaling happens on the phone, but only after the full download.
* don't want.
I said just that
Download image, resize, cache for further use the smaller version
I have tried that. It doesnt work.
Amethyst requires many image sizes, including the original size. Even without the original size, rescaling for all sizes the app can use takes more space than just keeping the original.
For profile pictures you do not need the original size usually.
Have a proper cache with mixed LRU/LFU and store 2 sizes: the original, and a smaller optimized version that can be on-demand scaled down to whatever you need.
It's funny that you think I don't have a proper cache even though I use state of the art caching system.