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.

Reply to this note

Please Login to reply.

Discussion

It's funny that you think I don't have a proper cache even though I use state of the art caching system.