Oddbean new post about | logout
 Most people have between 1GB and 2 GB of disk space available for amethyst. If the cache is full, Amethyst will be downloading the 50MB image every time you see a post from the user. If the app goes to the background and back and there is no disk space, it downloads again. 

So, costs multiply by a LOT with regular use. 
 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. 
 Also, scaling is not an issue since most Gif pictures are close to the size on the screen. The real culprit is the animation and the time of the gif. 
 can we just stop having GIFs and use APNG and/or normal video files