Hello,
Besides configuring Cloud storage (S3) and CDN to serve images, does anyone have experience in transforming the images(compressed to progressive jpeg) on the fly before they are stored on S3 or post storing them on S3?
If you have an image-heavy discourse instance, http://webpagetest.org/ repeatedly complains of not using the progressive jpegs. If the users are uploading images in the post, it is difficult to manually convert/compress the images before or after they are published.
I found some approaches for image minimization on AWS S3 buckets using serverless Lambda functions.
Paid options:
DIY options:
https://developer.happyr.com/aws-lambda-image-optimization-with-serverless
https://github.com/sourcey/s3-image-optimizer
Would love to hear what your experiences are?
Thank you.