Can Polish work with S3 hosted Images?

#1

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.

#2

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

#3

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

#4

Seems to be working great from my end.

image

#5

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.

#6

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:

#7

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

1 Like