Ask HN: What the best way to optimize images in S3?
Amazon services, third parties, or processing on your own server?
By optimising, I mean resizing and compression for web consumption.
By optimising, I mean resizing and compression for web consumption.
You would have a canonical lossless image stored in S3. When a user makes a request to your CDN, it calls an origin server (assuming a cache miss) that transforms the canonical images into an optimized form.
Any basic WSGI, FCGI, CGI application behind NGINX will probably be sufficient.