Skip to content

v1.0.5

Choose a tag to compare

@brianvarskonst brianvarskonst released this 22 Oct 20:53
· 39 commits to main since this release
v1.0.5

Nginx Cache 1.0.5 keeps prewarmed pages warm by default, keeps outdated prewarm targets from blocking a stored plan, and keeps failure details for local purge queues.

  • Keep prewarmed pages warm (new default keep_warm). A bounded background refresh requests the prewarm targets every half inactivity window, five URLs per cron tick. Successfully prewarmed, cacheable pages therefore no longer go cold during quiet periods. Freshness, purges, bypass rules and max_size eviction still apply. The new evict_inactive retention mode keeps the previous behavior for large or storage-constrained sites. Failures and missed cycles appear in wp nginx-cache diagnostics and Site Health.
  • Outdated prewarm targets no longer block stored plans. Same-origin redirects are followed for up to three revalidated hops. Removed, rejected, externally redirected or looping targets are skipped and reported instead of exhausting the retry budget. Timeouts, rate limits and 5xx responses keep bounded retries.
  • Purge queue failures keep safe evidence. Queue details and diagnostics show the failure time, the processing phase and safe exception metadata. Contending workers cannot overwrite this evidence.

Behavior change on upgrade. With prewarm enabled, sites still on the default 3600-second inactivity timeout switch to keep_warm and send bounded same-origin GET requests for their prewarm targets. Sites with a changed timeout keep inactivity eviction. The generated Nginx configuration is unchanged, so no Nginx reload is required. Keep-warm relies on the documented per-minute cron runner. See the retention migration notes.

Implementation: #26, #29, #30
Release preparation: #31

Release commit: 8c25a7121afe9b2121da263220391a218815ef62. The SSH-signed tag was verified locally with the SymPress release key.

Validation: all eight post-merge QA checks passed. Local QA also passed: 105 tests / 530 assertions, coding standards, static analysis and hook checks. The ZIP contains the production dependencies and passed checksum, source and WordPress runtime checks: 2,469 file checksums, 121 matching source files, 41 production packages and no development packages. Archive build and checks.

Download ns-nginx-cache-1.0.5.zip below for a ready-to-install WordPress package. The automatically generated GitHub source archives do not include the production dependencies. Composer users can update sympress/nginx-cache to ^1.0.5.

SHA-256 for ns-nginx-cache-1.0.5.zip:

68a4c4f921393e087f6a8137e3c1bc8fa9b35ba2890bbd2a255e645627da000b