December 22, 2015
Most sites use some form of caching to improve performance, whether it be popular plugins like WP Total Cache, drop-in plugins, or even custom solutions. While these solutions can significantly improve performance for most of your visitors, they can’t guarantee that your custom code will be properly cached and updated seamlessly. The good news is that WordPress’ event-driven architecture of hooks and filters makes it a simple process to cache and intelligently update content only when you need to, for the best possible visitor experience. We’ll cover some code examples to illustrate how to leverage event-driven caching, and de-mystify this powerful and often-overlooked part of WordPress.