Skip to content

v0.2.12

Choose a tag to compare

@gmatta01 gmatta01 released this 21 Aug 08:04
· 1 commit to main since this release

Fix: generation stampede / site stuck under load

Root cause

Cache-clear hooks (WP Rocket / Autoptimize) were force-regenerating up to 50 pages synchronously. Each success flushed all caches, which retriggered those hooks — a feedback loop that hammered WordPress and the VPS.

Changes

  • Do not regenerate critical CSS on cache purge (it lives in post meta)
  • Purge only the affected URL after generate (no full-site flush)
  • Background queue: one generation at a time with a site-wide lock
  • Publish/cron enqueue instead of blocking the request
  • Rate limit always applies (default 5/hour/page); default delay 5s

Update the plugin, then optionally enable Disable Regular Intervals until the queue drains, and purge any stuck WP-Cron backlog if needed.