In previous articles I outlined how you can offload WordPress media files to Amazons S3 as well as use Amazons Cloudfront as a CDN to serve those files. This decreases load on your site, storage, and offers better load times on media files for your readers. Than I got to thinking. Why not use Cloudfront as the CDN as it is free compared to Amazons Cloudfront which is paid it also has many more edge locations which is a good thing.
Turns out it is even easier than I imagined! In the original article Amazon S3 Storage For Your WordPress Site we created a bucket called storage.kickassd.com. So now in your Cloudflare account create a CNAME record like so storage.kickassd.com.s3.amazonaws.com.
That’s it now your images are served with Cloudflare as a CDN for free!
Leave a Reply