Can Polish work with S3 hosted Images?

Just looking for confirmation on weither the Polish Optimization service can work with S3 images once you have added the CNAME record to alias the bucket through a subdomain in Cloudflare.

I have set up a CNAME and when accessing an image I see the server header coming through as cloudflare but no Cf-Polished header is present.

Cheers.

If the request goes through Cloudflare you can use Polish. Cany you post a sample link?

Sure,

Here is an image directly fom S3:
https://s3.amazonaws.com/uploads.chicmanagement.com.au/2019/04/MC0518_UTILITY_DANCE-1.jpg

And here it is going through Cloudflare:
https://uploads.chicmanagement.com.au/2019/04/MC0518_UTILITY_DANCE-1.jpg

Seems to be working great from my end.

image

Excellent, I can now see the cp-polished header and reduced file size as well.

Not sure why I was not seeing them initially, I did clear the cache before testing yesterday.

Thanks for the responses.

Instead of always clearing your browsers cache, just go in to all the browsers Dev Tools (F12) and select the option, Disable Cache when using Dev Tools. :slight_smile:

Thanks Withheld, I have checked the Disable Cache when using Dev Tools options now.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.