Learn
Learn copied to clipboard
Lesson: Using Speculative Loading in WordPress
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.