CDN Sync Tool: https://github.com/WDGDC/CDN-Sync-Tool
Is your WordPress site running slowly? In this video, Anthony the WordPress Guy from Cloud Sites by Rackspace shows you how to use CDN Caching with WP-Supercache to cache the pages and substantially increase page load speeds.
For information on setting up WordPress hosting, visit our WordPress page at http://www.rackspace.com/cloud/sites/web-hosting/wordpress.
Here is the transcript of the video:
Hello again! Anthony the WordPress Guy here. For this tutorial, I’m going to be following-up on my last tutorial on the WP-Supercache plugin and talking about the CDN functionality.
Let’s start in the plugins panel, where I have the two plugins we’re going to use: WP-Supercache and CDN Sync Tool, the latter of which is not viewable through WordPress.org, but you can access it at https://github.com/WDGDC/CDN-Sync-Tool for installation. To install CDN Sync Tool from the Plugins page, go to Add New, then click on the Upload button and select the file that you download from this link via manual installation.
Going back to the Plugins panel, the CDN Sync Tool is in the Settings panel. Clicking on CDN Sync Tool will take you to the admin panel of the tool.
We’re going to focus on the CDN Options tab. In this page, you can see the options for CDNs from which you can choose. You can choose Amazon, FTP or in my case, CloudFiles and right below, it asks for the HostName of the CDN, which you can get from your control panel if you have a Rackspace Cloud Files container. If you click in the View All links, you’ll find a URL, which you can paste into this HostName field. The Username is your Rackspace user name, and you can click on US or UK, depending on where you are on Planet Earth.
There’s also an API key field. If you click on the upper-right hand corner of your Rackspace Control Panel, there is an account settings button. When you click that button, you’ll see a page that shows your API key which you can copy and paste into this field.
The container field is asking for the name of the container that you have created. If you don’t have one already created in your Cloud Files control panel, just enter in anything into this field and the plugin will create the container for you.
Click Save and Test Changes, and the plugin will verify that the container exists. If it doesn’t exist, it’s going to create one for you, and then you can begin the synching process. Just for security purposes, I don’t have any of this information listed for you to view.
Now, if we go to WP Super Cache, we’ll configure all of the rewrites, so anything that’s a JPEG in the WP_Contents directory, we want that to point to the CDN and no longer point to your server. If we click on the CDN tab in Super Cache, you’ll have the option to enable CDN Support. After checking that checkbox, enter the CName that pointed to your container into the Off-site URL field. Next, look at the Include Directories section, which allows you to define what directories to point to the CDN. By default, it lists the wp-content and wp-includes directories.
(Transcript ended due to YouTube description length limits)
Facebook Page: https://www.facebook.com/rackspacecloudsites
Google+ Page: https://plus.google.com/100139417795527694623/posts
Instagram Page: http://instagram.com/cloudsites_by_rackspace