Support: 1-800-961-4454
Sales Chat
1-800-961-2888

Optimize your WordPress Site with W3 Total Cache on Rackspace Cloud Files

16

This post was written and contributed by Frederick Townes, CTO of Mashable and Developer for the W3 Total Cache plug-in, a Rackspace Cloud Tools partner.

WordPress is among the most popular open source publishing platforms on the planet. Out-of-the-box it performs in any hosting environment, but with W3 Total Cache, site performance is maximized leveraging the suite of tools it provides. User experience is one of the most important factors in site success and to improve it, reducing response times of your site is vital. Studies show that the faster your site loads, the longer visitors will stay, the more pages they will visit, the lower any learning curves become and the more favorably Google will rank your site. There are lots of optimizations W3 Total Cache does unobtrusively, without modifying plugins, theme, database etc.

Let’s take a look at some settings to get you started:

Page Cache:
Reduce load by caching pages and feeds after the first request (or even prime the cache if you prefer) and returning the saved file from either disk or memory.
Recommended Setting: Disk (enhanced)

Minify:
Remove white space, line breaks and other unnecessary characters to reduce file size so files are delivered faster. In the case of HTML, a minified file “feels” like it renders faster in the browser. While in the case of Cascading Style Sheets (CSS) and JavaScript (JS) files, they are also respectively combined to reduce the number of transactions required to deliver a given page. Use the help tool on the minify settings tab to easily find and prune the CSS and JS files to minify for a given theme. Avoid minifying statistics, advertising or similar JS files when making selections.
Recommended Setting: Disk

Database Cache:
Reduce read operations on the database by caching responses for a short time. Consequently, the time required to generate new pages is also reduced. The result is that the response time after users post new comments, perform searches or request a page that has not been cached is a low as possible.
Recommended Setting: Off, but varies by site, try disk and verify if performance increases.

Object Cache:
A “higher level” cache than the database cache, the object cache is a “runtime” cache containing the various pieces of data needed
Recommended Setting: Off, but varies by site, try disk and verify if response times decrease.

Content Delivery Network:
Latency is among the easiest ways to improve the user experience (reduce load time) of a site. Rackspace Cloud Files can easily be enabled using W3 Total Cache on your site to allow WordPress core files, theme files and even the media library to be hosted on the Cloud Files Content Delivery Network by Limelight Networks. Site visitors will then have a highly responsive experience when browsing. Once Cloud Files account settings have been populated and desired files exported (uploaded), everything then works transparently; when new attachments are added to the media library they are automatically hosted with Cloud Files.
Recommended Setting: Rackspace Cloud Files

Browser Cache:
The web browser can keep copies of files downloaded from the web sites you visit. In terms of user experience, this is the lowest latency cache possible. Once a file is downloaded specific headers can allow the browser to quickly check if the local version is up-to-date. If it is, the browser can then either render the page instantly or request fewer objects for a given page making the page load much faster.
Recommended Setting: Defaults are a good start, experiment with settings to achieve desired policies.

User Agent Groups:
If your site has mobile users or if it uses various themes for respective groups of users. The User Agent Groups tab of the plugin allows you to assign groups of browsers or devices to use a specific theme or even redirect them to another web site. This feature also makes sure that specific browsers/devices have respective caches and therefore the lowest response times possible.
Recommended Setting: Defaults are a good start, settings may vary per site.

Tips:

  • • Use the import / export settings option of the general settings tab of W3 Total Cache to backup, save and share settings files.
  • • Import external media library objects, then export to CDN to make sure that every possible file is hosted with the content delivery network.
  • • Review the usage section of the frequently asked questions tab of the plugin for tips on measure performance.
  • • Reduce the images used in your CSS file by taking advantage of the spriteme.org bookmarklet which makes creating image sprites very simple.
  • • Review the Best Practices for Speeding Up Your Site section of the Yahoo! Developer Network site for even more tips.

 

Have ideas on how to make W3 Total Cache better? Need tips optimizing your site’s user experience? Use the various support form options on the support tab of the plugin to get in touch!

Learn more about how Rackspace can help you with hosting your WordPress site.

About the Author

This is a post written and contributed by Angela Bartels.

Angela runs integrated marketing campaigns for Rackspace. She started at Rackspace in 2003 and has done everything from Linux support, account management, sales, product marketing and now lives in marketing. She left Rackspace in 2005 to work for PEER 1 Hosting but returned in 2009 because she was interested in the cloud computing movement (and has always been a Racker at heart). Angela is a strong believer in the power of storytelling.


More
16 Comments

Any advice on using W3 Total Cache with Multi-site and domain mapping enabled?

Thanks!

avatar Philip Murphy on September 2, 2010 | Reply

[…] the original: Optimize your WordPress Site with W3 Total Cache | Rackspace Cloud … 分类: wordpress 标签: cloud, cloud-files, core-files, even-the-media, media, network-site, […]

avatar MY IDC » Optimize your WordPress Site with W3 Total Cache | Rackspace Cloud … on September 3, 2010 | Reply

[…] Optimize &#1091&#959&#965r WordPress Site w&#1110th W3 Total Cache &#959n Rackspace … […]

avatar ‘Test Article’ For “Unique Article Wizard” | Travel First Aid Kits on September 3, 2010 | Reply

[…] Optimize your WordPress Site with W3 Total Cache on Rackspace … […]

avatar Archos 404 screen resolution? | Archos 404 on September 3, 2010 | Reply

[…] Optimize your WordPress Site with W3 Total Cache | Rackspace Cloud … […]

avatar Archos 605 with Wifi Screen Broke How Do I Send It Back? | Archos Battery on September 4, 2010 | Reply

Thanks for this post.It’s really helpful

avatar ambuj on September 4, 2010 | Reply

[…] Optimize your WordPress Site with W3 Total Cache | Rackspace Cloud … […]

avatar Archos 605 with Wifi Screen Broke How Do I Send It Back? | ARCHOS GMini XS100 on September 5, 2010 | Reply

Frederick:

It is a great plugin and works excellently when properly configured. One question though, when attempting to setup through Cloud Files, the plugin asks for a URL ending in .cloudfiles.rackspacecloud.com or CNAME.

Presently, Cloud Files is auto generating URLs ending in cf2.rackcdn.com without the ability to change it and Rackspace presently does not support CNAMEs for Akamai’s CDN.

Is there a workaround for this?

avatar Vincent Polisi on February 19, 2011 | Reply

Hi,

I had the same problem and have put the code here for how to modify the plugin to suppor the new URL’s:
http://www.ichilton.co.uk/blog/wordpress/using-the-w3-total-cache-wordpress-plugin-with-rackspace-cloud-files-180.html

Ian

avatar Ian Chilton on March 11, 2011

Hi,

If you have problems with getting ‘Unable to create object’ when uploading to the CDN, wants to support the new URL’s or use the UK Cloud Files, i’ve detailed it all in a post here:

http://www.ichilton.co.uk/blog/wordpress/using-the-w3-total-cache-wordpress-plugin-with-rackspace-cloud-files-180.html

Hope this helps,

Ian

avatar Ian Chilton on March 11, 2011 | Reply

When i turn on the object cache, the ‘UL’ bellow, on this page http://wp.me/a1dfs6-Ew , loads every attachment on the whole site instead of just the attachments for that page. i tried setting it up so that it ignored wp-content/themes/mythemename/image.php , but that didnt work

avatar Danny Michel on March 30, 2011 | Reply

So does Total Cache work with Cloud Files or not? Do we really have to hack it still?

avatar David on March 11, 2012 | Reply

What’s the best way to handle SSL with Cloud Files and W3 Total Cache?

The plugin asks us to provide the URL for the CDN, but it doesn’t take different addresses for SSL and HTTP. Since Cloud Files has a different URL structure for each, that seems to force us to use SSL all the time — defeating some of the speed benefit of using a CDN in the first place.

Any advice?

avatar Bryan O'Malley on May 1, 2012 | Reply

I enabled Rackspace file hosting with WordPress plugin W3 Total Cache today on http://www.belfastdigitalagency.com with no problems.

The guys on live support walked me through all the steps required and there’s been a great improvement on page speed. A highly recommended WordPress performance boost!

avatar Philip Barnes on September 19, 2012 | Reply

The plugin with Cloud Files is giving my site very fast loading times but after I started using it my Browser Caching couldn’t be any worse.. Looking for a solution for days now but nothing seems to be working. Does anyone have an idea how to fix that?

avatar Kees on February 22, 2013 | Reply

Great article Frederick and Angela! We’re currently playing around with various CDN’s and caching plugins, and are going to test W3TC + MaxCDN next (currently on Incapsula, which provides great security features, but doesn’t integrate as seamlessly with W3TC).

Reviews we’ve come across have mentioned that RS Cloud Files lacks the interface MaxCDN has, and that Max is more seamlessly integrated with W3TC. Specifically, RS Cloud Files doesn’t provide the option to set the expire header beyond 72 hours. Do you know if this limitation has been addressed?

avatar Alex Schenker on December 1, 2013 | Reply

Leave a New Comment

(Required)


Racker Powered
©2014 Rackspace, US Inc.