Skip to content

Move pattern libraries to HTTP/2 #355

@james-nash

Description

@james-nash

Is your feature request related to a problem? Please describe.
We serve our various pattern library environments via unencrypted HTTP. It would be nice to serve them via HTTP/2, as we do for the Buildit website.

Aside from that warm fuzzy feeling you get from making life difficult for governments trying to spy on their citizens' web browsing, there are some practical benefits too:

  • HTTP/2 should be faster than ye olde HTTP thanks to header compression, pipelining and other goodness
  • Some recent JS APIs - e.g. service workers - aren't available when served over HTTP. While we don't currently make use of those in Gravity, it's conceivable that we may want to in the future.

https_all_the_things

Describe the solution you'd like
Mimick the setup we use for the Buildit website. From what (little) I understand, that amounts to:

  • Setting up Cloudfront CDN
  • Ensuring http URLs will permanently redirect to the corresponding https URLs
  • Adding some cache invalidation to our .travis.yml, so that new releases clear the CDN cache as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    💡 ideaTYPE: Indicates that this is an idea. These may end up spinning out into a separate projects.infrastructureCATEGORY: Infrastructure related - e.g. updates to build process, tests, tooling, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions