The fastest way to load pages in WordPress.
- Only dequeue scripts if browser supports Fetch for backwards compatibility with older browsers
- Integrate localization behaviors as shown here.
- Test with a few different themes and open bugs and needed
- Integrate User Interface created by @wedangsu
- Ensure interface gives ability to defer script execution for scripts querying the DOM until after the DOM is fully parsed.
- Give ability to perform grouping, so non-jQuery scripts can download and execute without waiting for jQuery.
- Add ability to load icon fonts and non-critical CSS (also possible with Fetch Inject)
- Build API enabling theme authors greater control
Hyperdrive uses a performance optimization technique known as Fetch Injection, available in browsers with support for the Fetch API. Fetch is a modern replacement for Ajax.
Please open issues when creating PRs and PR against the issue to close it. This helps separate the need (the issue) from the implementation (the pull) and will result in more robust code and better solutions longer-term. It also opens the ability to solve problems using multiple given approaches, so the best approach can be the one that is chosen.