* Use Jetpack’s Photon image resizing in local development
* Photon is open source, and relatively straightforward to run locally.
If you like my WordPress work, check out my new plugin, Bylines. Thanks!
In the interest of having my thoughts written down and expanded upon somewhere, here I go! I voted Hillary Clinton predominately because I think Donald Trump is a whack job, unfit for President, and that Hillary better represents my social values. Going into Election Day, even though media coverage leaned strongly towards Hillary, my thinking […]
Quickly identify what’s slow with WordPress by using
wp profile eval-file, using
--spotlight to see the signal from the noise, and more.
wp profile, you gain quick visibility into key performance metrics (execution time, query count, cache hit/miss ratio, etc.) to guide further debugging.
wp profile eval-file, you can mock, execute, and evaluate the request with a one-off file.
File_Contents, or the ability to check all or a selection of WordPress files for a given regex pattern.
Option_Value, or the ability to assert that a given option is a specific value.
Constant_Definition, or the ability to assert that a given constant is either defined, a specific value, or falsy.
Plugin_Status, or the ability to assert that a given plugin should be active, installed, or uninstalled.