Skip to content

v1.0.7

Choose a tag to compare

@brianvarskonst brianvarskonst released this 25 Oct 22:39
· 34 commits to main since this release
v1.0.7

Nginx Cache 1.0.7 shows how many of your public pages are actually cached, and keeps the hit-rate statistics complete across log rotation.

  • Page coverage on the dashboard. The main card now compares public page URLs with the local cache files: the home page and language home pages, plus published content of all viewable post types. Every language version counts as its own URL. Each page is shown as cached, expired, not cached, excluded by a bypass rule, or unknown. Key variants of one URL count once. Intentionally excluded pages do not count as missing coverage.
  • Bounded and side-effect free. At most 500 recently modified entries are checked per reload, and a limited check is labelled as such. The check only reads the filesystem: no HTTP requests, purges or prewarming. An unreadable cache root or an alternative purge backend shows "not determinable" instead of zero.
  • HTTP hit rate moved to Tools. The request-based hit rate is now in the Tools tab (simple mode: "Technische Statistik"). Its label says that it counts individual HTTP requests in a sliding window, not pages or visitors.
  • No gap after log rotation. The metrics reader also reads <log>.1 within the existing 1 MiB / 5,000-line budget, so copytruncate and rename/create rotation no longer drop still-current requests from the 60-minute window. Bytes still shared by both files during copytruncate are counted once. An unread recent generation, such as an archive that is already compressed (no delaycompress), marks the window as incomplete.

On upgrade: option names, stored values and the generated Nginx configuration are unchanged, so no Nginx reload is required. Only the dashboard layout changes.

Implementation: #38 (closes #36 and #37)
Release preparation: #39

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

Validation: all eight QA checks on the release PR passed on the identical tree, and the post-merge QA run on main passed. Local QA also passed: 111 tests / 551 assertions, coding standards, static analysis and hook checks, plus the WordPress 7.1.2 integration suites on MariaDB 11.8. The ZIP contains the production dependencies and passed checksum and source checks: 2,473 file checksums, 125 source files identical to the tag, and no development packages. Archive build and checks.

Download ns-nginx-cache-1.0.7.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.7.

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

b144d20f71f641488edbcc89f921c2b901cd2193f08b968038b32efc5eacbf24