Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move pattern libraries to HTTP/2 #355

Open
james-nash opened this issue Sep 25, 2019 · 0 comments
Open

Move pattern libraries to HTTP/2 #355

james-nash opened this issue Sep 25, 2019 · 0 comments
Labels
💡 idea TYPE: Indicates that this is an idea. These may end up spinning out into a separate projects. infrastructure CATEGORY: Infrastructure related - e.g. updates to build process, tests, tooling, etc.

Comments

@james-nash
Copy link

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.
@james-nash james-nash added infrastructure CATEGORY: Infrastructure related - e.g. updates to build process, tests, tooling, etc. 💡 idea TYPE: Indicates that this is an idea. These may end up spinning out into a separate projects. labels Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 idea TYPE: Indicates that this is an idea. These may end up spinning out into a separate projects. infrastructure CATEGORY: Infrastructure related - e.g. updates to build process, tests, tooling, etc.
Projects
None yet
Development

No branches or pull requests

1 participant