Releases: gmatta01/critical-css-wp
Releases · gmatta01/critical-css-wp
Release list
v0.2.13
v0.2.12
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.
v0.2.11
Summary
- Stronger generation bypass (header + nocache) so regenerations stay stable
- Works with server update that ignores inlined styles and @font-face
Deploy the matching server update for smaller CSS and dashboard key copy/delete.
v0.2.10
Summary
- Stop critical CSS from compounding on regenerate (
?ccss_bypass=1) - Reject oversized CSS before storing (250KB cap)
- Rate-limit / request-delay / disable-cron settings
After updating
Clear or regenerate critical CSS on pages that already have multi-MB blobs (e.g. poisoned regenerations). Deploy the matching server update as well.