Skip to content

docs: Debugging and performance guide for headless WordPress #159

Open

Description

@colinmurphy

Overview

A how-to guide for debugging and improving performance in headless WordPress applications, added to the HWP Toolkit docs. This combines the original debugging guide with the best-practices (#160) and reference (#161) ideas into one guide.

Sections

  • Finding slow or failing requests: using WPGraphQL Logging to capture requests, filter by level and date, and inspect context (docs/plugins/wpgraphql-logging)
  • Analysing queries: WPGraphQL Debug Extensions query analyser rules (nested query depth, excessive fields, unfiltered lists, complexity) and how to act on them
  • Tracing and N+1 detection: using WPGraphQL IDE's tracing
  • Caching: WPGraphQL Smart Cache, GET vs POST (docs/explanation/get-vs-post), and persisted queries (docs/how-to/nextjs-pages-router/enable-apq)
  • Best practices: query design (fragments, pagination, limiting fields), rendering strategy (docs/explanation/rendering-options), with framework-specific notes where useful
  • Common issues and fixes: a short troubleshooting list

Notes

Activity

  1. added
    Performance
    on May 7, 2025
  2. added theissue type on May 7, 2025
  3. changed the title [-]docs: HWP Toolkit - Debugging HWP applications[/-] [+]docs: HWP Toolkit - Debugging Headless WordPress Applications[/+] on May 7, 2025
  4. removed theissue type on May 12, 2025
  5. added
    [Type] Documentation
    on Oct 23, 2026
  6. changed the title [-]docs: HWP Toolkit - Debugging Headless WordPress Applications[/-] [+]docs: Debugging and performance guide for headless WordPress[/+] on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Performance[Type] Documentation

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions