Lesson: Using Speculative Loading in WordPress
Open
Nobody has claimed this yet.
[Content] Needs SME
- Dominant language
- PHP
- Stars
- 333
- Forks
- 127
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 11
Description
Details
- Topic description: This lesson teaches the user about the Speculative Loading feature introduced in WordPress 6.8. It leverages the Speculation Rules API to enhance site performance by anticipating user navigation, and preloading or pre-rendering resources accordingly.
- Audience (User, Developer, Designer, Contributor, etc.): Developer
- Learning objectives (What will the learner be able to do as a result of this content?): The user will:
-
- Understand the Speculative Loading feature and how it relates to the Speculative API
-
- Understand how Speculative Loading enhances the user experience and performance
-
- Understand how to use and tune the Speculative API beyond basic usage and integration
- Content type (Online Workshop, Lesson, Course, or Facilitator Notes): Lesson
- WordPress version (optional):
- Will you be creating this content? (Yes or No): Yes
Related Resources
- https://make.wordpress.org/core/2025/03/06/speculative-loading-in-6-8/
- https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API
Next steps for SMEs
Please follow the team handbook "Vetting topic ideas" to vet this topic.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the related WordPress Core and MDN resources, then follow the Training Team handbook’s “Vetting topic ideas” guidance. Confirm the lesson covers the listed learning objectives for a developer audience, including understanding, performance benefits, and tuning of the Speculation Rules API. Done means the topic has been vetted and the lesson content is prepared for review.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wordpress
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100