Skip to content

Complete Nginx Helper purge rules and compatibility tools - #14

Merged
brianvarskonst merged 2 commits into
mainfrom
feat/nginx-helper-tools-20261007
Oct 7, 2026
Merged

brianvarskonst merged 2 commits into
mainfrom
feat/nginx-helper-tools-20261007

Conversation

@brianvarskonst

Copy link
Copy Markdown
Member

Completes the Nginx Helper feature comparison with configurable purge scopes for post edits/deletion and comment changes, bounded sitemap preload, Multisite Nginx maps and optional HTML rendering stamps.

The purge matrix applies before URL and tag expansion so disabled scopes remain excluded. Generic cache-clean hooks are omitted when customized rules need explicit event context. Full invalidations and import/overflow recovery retain their documented behavior.

Sitemap discovery stays on the configured site origin, rejects redirects and external XML declarations, and limits XML bytes, requests and warmed URLs. Maps are previewable and only written atomically to an explicitly configured destination; Nginx reload remains an operator action. New tools default to disabled. Redis connections omit empty AUTH parameters, and the settings page distinguishes alternative backends from local cache-path health.

Validation:

  • PHP 8.5.11: composer qa, 47 tests / 196 assertions; coding standard and PHPStan pass.
  • Disposable Redis 7: anonymous and encrypted-password connections, selective Helper/SymPress key deletion, multi-batch SCAN, dry-run preservation and unrelated object-cache retention pass.
  • Disposable Nginx: generated subdirectory and subdomain maps pass configuration validation and serve the expected blog IDs, including nested paths and unknown domains.
  • CI adds real Redis checks and extends both WordPress/MariaDB and WordPress/MySQL harnesses with the compiled kernel service graph, hook registration and real post/comment purge rules.

Requires PHP DOM for sitemap XML parsing. Setup and side effects are documented in README and docs/side-effects.md.

@brianvarskonst
brianvarskonst merged commit 341f2c7 into main Oct 7, 2026
6 checks passed
@brianvarskonst
brianvarskonst deleted the feat/nginx-helper-tools-20261007 branch October 9, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant