๐Ÿ‘‹ I’m Derrick, and this is my WordPress Blarg.


I’m an Enterprise Engineer for WordPress VIP. I’ve been with Automattic/VIP since 2015, and enjoy it every day!

On this site I mostly post WordPress and web technology related things, with a mix of whatever else is on my mind.


Blarg Posts


  • Query Caching (and a little extra)

    Query Caching (and a little extra)

    by

    By default, WordPress does not cache WP_Query queries.ย  Doing so can greatly improve performance.ย  The way I do this is via the Advanced Post Cache plugin: By running this plugin (hopefully as an mu-plugin) with a persistent object cache, WP_Query calls, along with get_post() calls (only if suppress_filters is false) will be cached. Bonus! Now […]

    Read More โ†’


  • Auto-enable WP_DEBUG with a cookie

    Auto-enable WP_DEBUG with a cookie

    by

    One of the most important things to do when working on new themes, plugins, or debugging issues in WordPress is to turn on WP_DEBUG.ย  According to the Codex: WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout WordPress. It is assumed to be false by […]

    Read More โ†’


  • Windows, SFTP, and the Registry

    Windows, SFTP, and the Registry

    by

    One of the tasks that I have to do often at work is copying data to and from an SFTP directory.ย  Previously I had a constant domain and port that I was able to connect to, an I could save this in a WinSCP profile for ease of use.ย  Due to some recent architectural changes […]

    Read More โ†’


  • Gutenberg, Code, and Highlighting

    Gutenberg, Code, and Highlighting

    by

    One of the great things about Gutenberg is the ability to compartmentalize different types of content within blocks.ร‚ย  One of the blocks that I’ve been using a lot of recently is the code block.ร‚ย  This block by default will render something like this: While this is acceptable, it’s not very pretty.ย  I used to use […]

    Read More โ†’


  • Securing WordPress Plugins with more Plugins

    Securing WordPress Plugins with more Plugins

    by

    I’ve written before about disabling plugin deactivation in WordPress, but I’ve finally used that knowledge in practice–on this site. The Problem Let’s say you’re going along your day, developing things, and fixing things, and making the world a better place when all of a sudden you get a call from a client that their website […]

    Read More โ†’


  • CSS & JS Concatenation in WordPress

    CSS & JS Concatenation in WordPress

    by

    At WordPress.com VIP one of the features we have on our platform is automated concatenation of Javascript and CSS files when registered through the core WordPress wp_enqueue__*() functions. We do this using the nginx-http-concat plugin: This plugin was written to work with nginx, but the server running derrick.blog is Apache.  I’ve worked around this and […]

    Read More โ†’

All Blarg Posts