Support for Preconnect/Preload and 103 Early Hints #4433
Labels
feature request
Indicates new feature requests
needs: product cleanup
needs: r&d
Needs research and development (R&D) before a solution can be proposed and scoped.
Is your feature request related to a problem? Please describe.
WP-Rocket should upgrade the DNS prefetching to preconnect and preload in order to utilize the 103 Early Hints.
Describe the solution you'd like
Early Hints enable browsers to start preload before the main response is served. In addition, this can be used with other Resource Hints APIs like preconnect.
Link: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/early-hints.md
This will dramatically improve page load times and user experience.
Additional context
Example response header:
Link: https://example.com; rel=preconnect, https://example.com; rel=preconnect; crossorigin, https://example.com/wp-content/themes/theme.css; rel=preload, as=style;
The text was updated successfully, but these errors were encountered: