Recently, I started using Cnames for my CDN setup. This allows my static CDN content to have a pretty url that is tied to my own domain. Here I discuss how I set-up a Cname for my Media Temple dv server and CloudFront CDN. Then, I highlight a loading issue I encountered with w3tc multisite […]
Debugging the w3tc Page Cache
Recently, I had a strange issue where some pages on my multisite were being cached, and others were not. There seemed to be no clear pattern as to what got cached and what failed the cache test. At first, it seemed a bit daunting to jump into the w3tc page caching code, but it actually […]
How to Translate blogs.dir CDN Files in w3tc
My main site has a WordPress Multisite setup that is divided based on directories. For example, My dog articles are in http://shibashake.com/dog/ and My art galleries are in http://shibashake.com/blog-art. In this setup, my image links look something like this – http://shibashake.com/dog/files/2012/12/dog-image1.jpg However, this is just a shorter more pretty url. The actual image file resides […]
How to Create Dynamic User Agent Groups in w3tc
Currently, in the w3tc plugin, we can create user agent groups by specifying agent names, e.g. android or iphone. By using this function, we can create different caches for different sets of devices. On my blogs, I need to create different caches based on screen width. This is because I serve up different widgets, ads, […]
Setting Up MT ProCDN, W3TC, and WordPress Multisite
Recently, I decided to give Media Temple’s ProCDN system a try. The awesome W3tc caching plugin already supports MT’s ProCDN so it was actually a pretty painless process. The only real issue that I faced was getting the image links for my directory based multisite setup to translate properly on my CDN. Here is how […]