Notes on WordPress, plugins and a homelab.
I’m Aryan Jasala. I build enterprise WordPress at rtCamp, free plugins under the Axle name, and a small homelab at home. When any of them breaks, the fix ends up here.
One email when a new post goes up. Or the RSS feed.
Every post, by what it is about.
Three kinds of notes. Pick the one in front of you.
Incidents
Postmortems: what broke on a live site, why, and the fix.
OPcache was on, theoretically
OPcache was enabled, but it was caching WordPress core only. Every plugin and theme file was compiled again on every request. What happened, the fix, and how to check yours.
Cloudflare is serving the wrong homepage
Why Cloudflare serves a WordPress page with someone's admin bar, the cookies to bypass on, and how to check
When Cloudflare Sneezed and WordPress Caught a Fatal Error
A Cloudflare outage took down wp-admin on a site not on Cloudflare, through Yoast's license check
Homelab
Build logs from a two node Proxmox lab at home: hardware, quorum, GPUs, VLANs and DNS.
VLANs on Omada, and the flag that is not a bug
Omada VLANs by trust, the vlan_enable flag that looks broken, reading the controller's MongoDB, and dual WAN
Split horizon DNS, and the day my own domain broke a cron job
Split horizon DNS on a domain I own, a cron job it broke, and a VPN resolver that depended on the VPN
The homelab hardware: two Proxmox nodes, a laptop, and a Pi
Two Proxmox nodes, a laptop and a Pi: what each one does, and what a laptop needs to be a cluster node
A two node Proxmox cluster, and the quorum problem
Two votes, one node down, no quorum: what two_node and wait_for_all fix on Proxmox, and what they cost
GPU passthrough on Proxmox, and why not an LXC
Why the GPUs in my Proxmox nodes go to VMs and not LXC, the VFIO setup, and a kernel flag that does nothing
WordPress
The fundamentals, written down once: plugins, blocks, rewrite rules, tests and VIP.
Translating a WordPress plugin, including the JavaScript
Text domains, when translations load, and getting strings and data into JavaScript the current way
WordPress plugin fundamentals: headers, load order, hooks and options
What WordPress reads first, the order plugins load in, and how hooks and options really behave
Custom Gutenberg blocks: create-block, InnerBlocks, context and patterns
Building a block with create-block, from scaffold and registration to InnerBlocks, context and patterns
A local WordPress dev setup: LocalWP, Mailpit, PHPCS
LocalWP, Mailpit in place of MailHog, and PHPCS with the WordPress coding standards
WordPress rewrite rules, permalinks and transients
How clean URLs map back to index.php, where the rules are stored, and when to flush them
PHPUnit tests for a WordPress plugin, scaffold to first assertion
Scaffold, install script, and the PHPUnit version the WordPress test suite still runs on
WordPress VIP Go: repo structure, environments, and local dev
Why a VIP repo does not look like a WordPress install, and which parts of it actually deploy
Build the homelab in order.
Five parts, in the order the lab went together: the hardware, a two node cluster and its quorum problem, GPU passthrough, VLANs, and split horizon DNS.
Written for the moment something breaks.
From things that broke
Most posts start as a production incident or a homelab outage, then get written up as what happened and the fix.
Checked against the source
Claims about WordPress, PHP or Cloudflare are checked against core code and the docs before they go up.
Commands you can run
Every check ends in something you can paste into a terminal and see the same result on your own site.
Axle plugins
Free WordPress plugins for running sites safely. Each one can be tried in your browser first.
Hi, I am Aryan.
I’m a Senior Software Engineer at rtCamp, working remotely from Delhi. Day to day I lead project teams on client builds: the architecture, the review gate, the estimate before anything is signed, and the postmortem when something breaks anyway. The code mostly lives in private client repos. This site gets the part I can write about.
Aryan Jasala