We all know the importance of making sure our online stores load quickly. And often, with the sheer volume of images, we need ways to optimize them. But there is also another option that can really help your site speed, whether it’s an online store or not. That is the ability to offload your media to another service in the cloud. This frees up your host’s server to do the other critical things it needs to do.
WP Offload Media Plugin for Amazon S3 or DigitalOcean Spaces
WP Offload Media plugin copies the files from your WordPress media library to Amazon S3 or DigitalOcean Spaces and rewrites the URL to service the files from Amazon S3, DigitalOcean Spaces, CloudFront or another CDN (content delivery network). It also has the option to identify the assets on your WordPress site, such as JS and CSS, and serve those via a CDN as well.
If your eyes are glazing over right now, in a nutshell, the net result is simple: a faster website.
For an example, I am going to use a small demo site I have and my Amazon S3 library.
Connecting to Your Amazon S3 Account
Obviously you need to access your account. There are step-by-step directions if you don’t know how to access your keys.
Once you have done that, you will need to select a bucket on your Amazon S3 account. You can use an existing bucket if you haven’t restricted your IAM User’s access, but am going to create a new one here.
It has now updated the metadata and we have these various storage settings. I am leaving them at the default for now:
Next, clicking that button on the right side of the previous screenshot, we start offloading our media.
After that is complete, a couple of options are added to these settings as well.
There will also be some options now found in your media library.
The Assets Add-on
Though I’m not going to go through the setup of this for the post, this is an option you might seriously consider using.
And here are the options for the settings:
As you can see, this is fairly easy to set up and get running on your WordPress site. Heck, I even did it. If your site has a lot of media to handle, whether it’s an online store or not, you might consider getting the WP Offload Media plugin and hooking it up to your favorite CDN.
Get weekly news on and around the WooCommerce community. Updates to our podcast, news from our weekly roundup and extra news from within and outside the WooCommerce space. I write this myself and it is delivered to your inbox every Saturday morning.