Whenever a post is saved, a page is loaded, a comment is created or a template is loaded, WordPress fires off events that, as developers, we have loved and cherished. These events are hooks. While hooks have been the quintessential building blocks of WordPress for over a decade, they come with a cost. Often times, developers will hook functionality into the save_post event, for instance, to fire off a notification to an external service or perform some sort of background task. The more of these tasks are hooked into WordPress, the slower WordPress becomes.
In this talk, I will show you how to alleviate these bottlenecks with asynchronous hooks – hooks that can be used to perform the exact same tasks, but not block the rest of WordPress from running. Through a library created by 10up’s Eric Mann and John Bloch for TechCrunch on WordPress VIP, the overhead of running actions can be reduced to a negligible amount.
About the Speaker: Aaron is a Sr. Web Engineer with 10up. He was a co-founder of WP Engine and the author of the WordPress Bible. Aaron has been working with WordPress since 2004 and remembers hooks and pages becoming a thing. In his free time, he spends time with his 26lb terrier, likes to sample craft beer and exercises his photography. He lives right here in Mt. Vernon, Baltimore.
Saturday, September 12, 2015
9:00 am | Station North
William H. Thumel Sr. Business Center
11 W Mount Royal Ave
Baltimore, MD, 21201
View Complete Venue Details