Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Follow HTTP/2 best practices #10

Description

@Alanaktion

HTTP/2 is awesome, and browser support is already pretty good. Our browser support is already quite limited due to the crypto and worker requirements, and most browsers that support our base application-level requirements also at least partially support HTTP/2. Because of this, we shouldn't optimize the site for HTTP 1.1, we should take advantage of HTTP/2's parallel asset loading and connection re-use.

Basically we should keep minifying, but stop concatenating. Defering loading of extra assets via custom JS should be avoided, we can use async instead for most things and HTTP/2 will load them in parallel, so there's no real delay in most cases.

There are plenty of comprehensive articles detailing the differences for development, here are a few:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions