Recently we setup a sub domain that is assigned through cloudflare that points to a S3 bucket. We did this so we could cache the images at the CDN level and avoid too many requests to our S3 bucket and thus making our Bandwidth usage higher, which increases our Data Transfer Out for the month.
We have also added the following headers to our images:
accept-ranges: bytes cache-control: public, max-age=2592000 cf-bgj: imgq:85 cf-cache-status: HIT cf-polished: qual=85, origFmt=jpeg, origSize=6174325 cf-ray: 4c25f6534a1c580d-DFW content-disposition: inline; filename="Removable-Star-Wallpaper-DIY-click-through-for-tutorial-1-17.webp" content-length: 215624 content-type: image/webp date: Thu, 04 Apr 2019 20:16:49 GMT etag: "fb7b1df78905fc56cd5be7dae5809518" expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" expires: Sat, 04 May 2019 20:16:49 GMT last-modified: Thu, 14 Mar 2019 18:59:05 GMT server: cloudflare status: 200 vary: Accept
And still we are not seeing a dent to our overall Data Transfer Out on the server. Any suggestions or thoughts?
I believe that 70% of our users are new users, but still seems a bit odd that it would not make a dent at all.
I do find it weird that the content type is serving as webp and the filename registers it so as well. But I’m running out of things to check
Any advice or help would be greatly appreciated! Thanks!