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.
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.