Speed Up Your WooCommerce Online Store or Site by Offloading Your Media

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.

connecting Amazon S3

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.

select bucket or create one

It has now updated the metadata and we have these various storage settings. I am leaving them at the default for now:

storage settings

Next, clicking that button on the right side of the previous screenshot, we start offloading our media.

offloading media library

After that is complete, a couple of options are added to these settings as well.

bucket options

There will also be some options now found in your media library.

options in 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.

assets addon

And here are the options for the settings:

assets settings

As you can see, this is fairly easy to set up and get running on your WooCommerce 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.