We use images in lots of places within the site:
- header image for articles
- image for the avatar
and so forth.
I have the control to make sure an image doesn't exceed 5mb. However, the page takes to long to load.
We use Ruby to produce the APIs and Angular above it. We've made lots of optimizations, we moved to use CDNs to lower the loads of the js
files.
The images are the only problem now. I don't want to use the paperclip
Gem as we already use dragonfly
.
I can use a background process to work with every uploaded image, but I seek a more clean and convenient way.