Overview
Pyros (Greek for fire or heat) is an intelligent cache management plugin that automatically purges your NGINX FastCGI cache and instantly prewarms pages in the background. It integrates natively with WordPress hooks to ensure your cache is cleared precisely when needed, without human intervention or editor delays.
Architectural Rationale:
Standard caching plugins freeze the WordPress editor during post publishing because they make synchronous purge requests over local HTTP connections before terminating the PHP response. Pyros cuts editor latency to 0ms by immediately invoking fastcgi_finish_request(), releasing the browser, and then performing the NGINX FastCGI purge and non-blocking multi-cURL prewarming in the background.
Developer Integration
# WP-CLI: Purge and prewarm NGINX cache
$ wp nginx rebuild
// PHP Filter: Custom purge URL for clustered NGINX
add_filter('pyros_purge_url', function($url) {
return 'https://127.0.0.1/purgeall';
});
WP-CLI: $ wp nginx rebuild
Deployment Notes
Works out-of-the-box with custom NGINX proxy setups. Supports clustered cache purge endpoints and custom SSL client certificates.