Skip to content

Integrate WPGraphQL Smart Cache with Webhook Plugin #247

@theodesp

Description

@theodesp

Description

As a headless developer, I want to integrate WPGraphQL Smart Cache with the existing webhook plugin to enable on-demand cache invalidation whenever content or configuration changes occur in WordPress.

Acceptance criteria

  • The webhook event manager detects and listens to WPGraphQL Smart Cache purge events (wpgraphql_cache_purge_nodes and graphql_purge) instead of native WordPress action hooks.

  • Webhook payloads include WPGraphQL Smart Cache keys to enable precise on-demand cache invalidation.

  • If Smart Cache keys are not available, the webhook payload includes the URI path for invalidation fallback.

  • The system supports multiple event subscriptions per webhook entry, leveraging Smart Cache event data.

Metadata

Metadata

Assignees

Projects

Status

✅ Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions