Tag: optimization
-
Use get_the_terms() instead of wp_get_object_terms()
I was recently debugging the front page of a WordPress site and found a lot of queries to the terms and term relationships database tables. Digging a little deeper, I found that the culprit were a set of functions that were calling wp_get_object_terms() to get the terms from a set of looped posts… and then…
-
Horizontally scaling PHP applications
One of the most common worries of the enterprise IT world about WordPress and other Open Source apps it’s how you can scale it — which it’s kind of ironic when their enterprise-y web services response times are usually measured in the scale of tens of seconds… DigitalOcean has published a high-level practical-overview on horizontally…