Skip to content

ariffsetiawan/hyperdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperdrive

The fastest way to load pages in WordPress.

Hyperdrive for WordPress

Documentation

Hyperdrive docs available online at: http://hyperdrive.habd.as

Todo before 1.0.0 release

  • 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

Post 1.0.0 roadmap

  • 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

How it works

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.

Contributing

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), resulting in more robust solutions.

Though not required, if you plan on contributing code please consider installing EditorConfig for your editor or IDE to help normalize your code with our coding standards.

License

GPL-3.0

About

Hyperdrive Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages