CDN77.com

Wordpress CDN integration using ZenCache

Login to your CDN77 account and create a new CDN Resource. (If you already have a CDN77 account, visit CDN → New CDN Resource to create a new CDN resource for your site.) Select "HTTP Standard" for the resource type.

In the General Settings, enter your domain in the Origin field, exactly as it appears on your site. If you use http://www.example.com, you should enter www.example.com. If you use http://example.com, you should enter example.com. Note that CDN77 requires that you fill in the CNAMEs field, even if you're not going to use that feature (not required by ZenCache Pro). If you're not going to setup a CNAME, you can just add cdn. to the front of your domain in that field, as shown in the screenshot below.

 

Once the resource has been created, you'll want to visit the Settings tab and make sure that Ignore Query String is set to Disabled. This is the default when creating a new Resource on CDN77, but it's a good idea to double-check, as this must be disabled for ZenCache Pro to work properly.

Now we need to wait for CDN77 to finish provisioning the new resource. You'll see a message on the Instructions tab that tells you it will take 10 - 15 minutes to finish. When that message changes to "You CDN resource was successfully uploaded to all Datacenter locations", you can proceed with configuring ZenCache Pro.

Important: You must wait until CDN77 has finished provisioning the CDN resource before you use it with ZenCache Pro, otherwise you may end up with broken links on your site.

After 10 - 15 minutes, you can refresh the page and you should see the message has changed to the following. Now we're ready to configure ZenCache Pro.

Copy the CDN URL for the new CDN resource that you just created (it should look something like 579346857.r.cdn77.net) and paste that into the CDN Hostnamefield in WordPress Dashboard  ZenCache  Plugin Options  Static CDN Filters. You'll also want to make sure Static CDN Filters is enabled and set to "Yes, I want CDN filters applied".

When you're finished, click the Save All Changes button at the bottom to save your ZenCache configuration.

That's it! ZenCache Pro is now configured with your CDN77 account. If you logout of your WordPress Dashboard and visit your site, you'll see that all static resources (CSS files, JavaScript files, images, etc.) are loaded with URLs that start with something like http://579346857.r.cdn77.net/, which indicates that the ZenCache Pro CDN Integration is now working.

How helpful was this article to others

Want to vote too? Log in to your account.

Haven't found what you were looking for? Ask a question.