{"id":41,"date":"2026-12-01T20:03:27","date_gmt":"2026-12-01T20:03:27","guid":{"rendered":"https:\/\/voidlabs.wpenginepowered.com\/?page_id=41"},"modified":"2026-12-01T23:36:02","modified_gmt":"2026-12-01T23:36:02","slug":"spellbook","status":"publish","type":"page","link":"https:\/\/dndc.quest\/?page_id=41","title":{"rendered":"The Spellbook"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Most spells in this wiki are fiction. The ones on this page are not. Each was cast by the Chronicler against this site&#8217;s real server on November 25, 2026.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Spell I: Cast Purge<\/h2>\n\n\n\n<div class=\"wp-block-group ddc-statcard ddc-rarity-epic is-layout-flow wp-block-group-is-layout-flow\">\n<dl class=\"ddc-readout\"><div class=\"ddc-row\"><dt>School<\/dt><dd>Platform magic (WP Engine API)<\/dd><\/div><div class=\"ddc-row\"><dt>Target<\/dt><dd>Every cache layer of the voidlabs production environment<\/dd><\/div><div class=\"ddc-row\"><dt>Counters<\/dt><dd>The Cache Lich<\/dd><\/div><div class=\"ddc-row\"><dt>Result<\/dt><dd>Accepted by the platform (HTTP 202). Every cache layer cleared.<\/dd><\/div><\/dl>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Cache Lich hides its phylactery in many places at once, so a half-hearted purge only makes it laugh. The Chronicler skipped the menus and spoke directly to the WP Engine platform, invoking a full purge of every cache type on the environment. The platform answered with the ancient words <code>202 Accepted<\/code>, then quietly dissolved yesterday&#8217;s snapshots in the background. The Lich did not laugh.<\/p>\n\n\n\n<div class=\"wp-block-group ddc-terminal is-layout-flow wp-block-group-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>&gt; cast purge --target=voidlabs --type=all\n{\n  \"success\": true,\n  \"status\": 202\n}\n# The Cache Lich has been banished. For now.<\/code><\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-group ddc-tip is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Real-world tip:<\/strong> This was a real cache purge made through WP Engine&#8217;s Hosting API. You can cast the same spell yourself with Clear all caches in the WP Engine User Portal, or from the WP Engine menu in wp-admin, whenever changes aren&#8217;t showing up.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Spell II: Summon the Bestiary Roll<\/h2>\n\n\n\n<div class=\"wp-block-group ddc-statcard ddc-rarity-legendary is-layout-flow wp-block-group-is-layout-flow\">\n<dl class=\"ddc-readout\"><div class=\"ddc-row\"><dt>School<\/dt><dd>The Spellbook of WP-CLI<\/dd><\/div><div class=\"ddc-row\"><dt>Target<\/dt><dd>Every Bestiary entry in the Realm&#8217;s archives<\/dd><\/div><div class=\"ddc-row\"><dt>Casting time<\/dt><dd>Under one second<\/dd><\/div><div class=\"ddc-row\"><dt>Result<\/dt><dd>10 creatures revealed<\/dd><\/div><\/dl>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Opening the Spellbook of WP-CLI, the Chronicler wrote a single line and the server recited the name of every monster in this wiki, from the humble Mixed Content Imp to the dreaded 502 Bad Gateway. Here is the real output:<\/p>\n\n\n\n<div class=\"wp-block-group ddc-terminal is-layout-flow wp-block-group-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>$ wp post list --post_type=post --post_status=draft --category_name=bestiary \\\n    --fields=ID,post_title,post_status --orderby=ID --order=asc\n\nID   post_title               post_status\n20   Mixed Content Imp        draft\n21   Cookie Goblin            draft\n22   The Cache Lich           draft\n23   Plugin Mimic             draft\n24   White Screen Wraith      draft\n25   The Fatal Error Dragon   draft\n26   Slow Query Slime         draft\n27   The Deadlock Hydra       draft\n28   Zombie Process           draft\n29   The 502 Bad Gateway      draft<\/code><\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(At the time of casting, the wiki was still in drafts awaiting the Dungeon Master&#8217;s review. Hence <code>draft<\/code>.)<\/em><\/p>\n\n\n\n<div class=\"wp-block-group ddc-tip is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Real-world tip:<\/strong> <code>wp post list<\/code> lists posts straight from the database. Add flags to filter (<code>--post_status<\/code>, <code>--category_name<\/code>) and choose columns (<code>--fields<\/code>). WP Engine includes WP-CLI on every environment, available over SSH.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Real spells cast against this site&#8217;s live server: a full WP Engine cache purge and a WP-CLI command.<\/p>\n","protected":false},"author":2,"featured_media":100,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-41","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/pages\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dndc.quest\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":2,"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/pages\/41\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/pages\/41\/revisions\/97"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dndc.quest\/index.php?rest_route=\/wp\/v2\/media\/100"}],"wp:attachment":[{"href":"https:\/\/dndc.quest\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}