2 ms·
I use my www as the origin for the static media. I assume that cloudfront files stay in the CDN until they are invalidated. I haven't tested how long they stay.
by harper 16y ago
I use my www as the origin for the static media. I assume that cloudfront files stay in the CDN until they are invalidated. I haven't tested how long they stay. I imagine that if there are no requests, they go away after awhile.
You do have to pay for cloudfront usage. I am not sure the breakdown of custom origin vs s3 is - but i imagine it is similar.
Here yea go: https://github.com/harperreed/drydrop https://github.com/harperreed/drydrop