Giter Club home page Giter Club logo

hyperdrive's Introduction

Hyperdrive plugin for WordPress Hyperdrive

Packagist PHP WordPress Travis Codecov

The fastest way to load pages in WordPress

Hyperdrive is a WordPress plugin that increases site performance using modern Web standards. Based on initial testing Hyperdrive has been shown to reduce perceived latency in the Twenty Seventeen theme by 200-300%.

Translations: Pу́сский, Español, Português

How it works

Hyperdrive uses a performance optimization technique known as Fetch Injection available in supported browsers. Fetch Injection leverages Fetch, the modern replacement for Ajax.

Installation

Several installation options are available. Choose the one which best meets your skill level and desired workflow.

Ensign

To install the plugin manually, simply:

  1. Upload hyperdrive.php to the /wp-content/plugins/ directory,
  2. Activate the plugin through the Plugins menu in WordPress.

Lieutenant

To install and manage with Composer run the following from the WP installation directory:

composer require comfusion/hyperdrive:1.0.x-dev

The above will download the Hyperdrive beta under version control and install it directly to the /wp-content/plugins directory. Run composer update to get the new and shiny.

Commander

The only thing here you may not recognize is rupa/z:

ssh user:[email protected]
z plugins
curl -O https://raw.githubusercontent.com/comfusion/hyperdrive/master/src/hyperdrive.php
wp plugin activate hyperdrive

Todo before 1.0.0 release candidates

  • 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

Contributing

Hundreds of thousands of individuals and users rely on WordPress every day to consume and share information online. For that reason Hyperdrive has strict requirements for code contributions.

And though Hyperdrive may have a high bar for quality, please don't let that deter you from making contributions. We take on all comers.

Where possible project owners, collaborators and contributors should embrace the values of the Agile Manifesto:

  • Individuals and Interactions over Processes and Tools
  • Working Software over Comprehensive Documentation
  • Customer Collaboration over Contract Negotiation, and
  • Responding to Change over Following a Plan

Issues

Hyperdrive accepts any issue. Be it gratuitously worded, devoid of information or just plain dumb. Feedback is a gift and will be treated as such. No question is stupid, even the stupid ones.

Pull requests

Please open issues when creating PRs and PR against the issue to close it. This establishes a need (the issue) and helps separate the need from the implementation (the pull), resulting in more robust solutions.

Before working on a pull please install and configure EditorConfig for your editor or IDE to help normalize your code syntax with that of the project.

License

AGPL-3.0 or any later version

hyperdrive's People

Contributors

ariffsetiawan avatar carlosrgil avatar eirachris avatar kulikalov avatar matt-h avatar nielslange avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.