Earlier, when images were to be added to staging/production, they were committed to the git repository and our deploy script used to take care of uploading the images to CDN (
S3 in our case).
But as we improved our design, the number and size of images began increasing. It was then decided that we will not be uploading retina images to the repo and they will be uploaded directly to
This is a good enough workflow on paper, but it has its own fair share of issues. Especially when certain fixes/changes need to be deployed urgently and the images are forgotten.
How do web services handle image uploads for their websites?
The reason we are not uploading to the repo is because it causes it to bloat a lot. Is that an issue we should overlook for ease of workflow?