Skip to content

DevModeChris/hyperdrive

 
 

Repository files navigation

Hyperdrive

The fastest way to load pages in WordPress.

Hyperdrive Plugin for WordPress

Build Status Code Climate Test Coverage

Installation

Hyperdrive is available on Packagist.

  • Installing with Composer: composer require comfusion/hyperdrive

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 establish and separate a need (the issue) from the implementation (the pull), resulting in more robust solutions and ensuring current issues are considered before changes are requested.

Additionally:

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

License

GPL-3.0

About

⚡ Hyperdrive Plugin for WordPress

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 75.2%
  • Shell 24.8%