Skip to content

Capture WordPress REST preload waterfalls#532

Merged
chubes4 merged 1 commit into
mainfrom
wp-admin-rest-waterfall
May 11, 2026
Merged

Capture WordPress REST preload waterfalls#532
chubes4 merged 1 commit into
mainfrom
wp-admin-rest-waterfall

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 11, 2026

Summary

  • Add browser-side WordPress REST instrumentation that records wp.apiFetch and fetch attempts during page profiling.
  • Correlate client REST attempts with observed network requests to classify network hits, inferred preload/cache hits, and remaining preload opportunities.
  • Add baseline-vs-candidate REST waterfall comparison helpers plus markdown report output for PR evidence.

Verification

  • node wordpress/tests/page-profiler-smoke.js
  • node --check wordpress/lib/page-profiler.js
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Audited the Homeboy extension/rig boundaries, drafted the WordPress REST waterfall instrumentation and smoke coverage, and ran targeted validation. Chris remains responsible for review and testing.

Related

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