I have a couple of wordpress websites running on nginx with ngx_pagespeed (same as mod_pagespeed). It optimizes css, js, html and images and serve optimized resources from ram cache.
So I am considering moving all media to another domain/server (amazon S3). Problem is with that I will loose the ngx_pagespeed optimization.
What are my options? What do you guys think about cli optimize and replace source images before moving them to s3? Maybe a tool like Trimage would do the trick.
Another problem is these websites are feed by their owners so I cannot control image optimization pre upload. All i can do is either optimize with mod_pagespeed or bulk optimize before moving to S3.
What do you guys think? Anyone has came across a similar problem before?
Best regards.