How to ideally store images on Amazon S3

amazon s3compressiongzipimages

I want to store a huge number of images on Amazon S3 (served via Cloudfront). Currently the way I am doing is simply dumping the images and having basic HTTP Cache headers set to a month so that users can have fast browsing experience. But I still want more fast experience.

Is there anyway I can compress my images (like gzip for text) and users can access that image resource on their browsers.

Best Answer

JPEGs are already inherently a compressed format, so further compression isn't really something that'll give you any significant benefit. You could reencode them with a lower quality setting but that'll compromise their appearance significantly.