I am using Filestack https://www.filestack.com/ as fileserver and Amazon S3 as filestorage as complete storage solution for my clients. Filestack offers CDN (Content Delivery Network) which serves file from nearest POP. Also i have chosen Redundant Storage for my bucket on Amazon S3. Now my question here is even though my images are stored at Amazon S3 and filestack, every-time a file is requested from filestack with its URL for ex, https://cdn.filepicker.io/api/file/h3C4wbHoTSaSltX354Ui why am i being charged at Amazon for Data Transfer I/O? I need to understand working between the two.
To set the cache-control headers for a filepicker.io URL you can add the following parameter: cache=true and it will set the headers to Cache-Control: max-age=315360000
For example: https://cdn.filepicker.io/api/file/h3C4wbHoTSaSltX354Ui?cache=true
Did you set the "cache-control" header on your files in the S3 bucket?
If not, the CDN will probably contact S3 on every request.
I just had a glance on Filestack, but not sure how it works. I guess S3 would be talking to your filestack using API.? In that case Amazon S3 has bandwidth charges, especially when it goes to Internet from AWS data center.