cloudfoundry / cloudfoundry/stratos

Speed up time-to-content and support low-Javascript clients

Open
#1,395 1 comment 3 reactions 1 assignee View on GitHub

@KlapTrap is already working on this.

Since Aug 22, 2018.

community feature-request
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Detailed Description

The UI takes a while to appear on first load, and any problems with Javascript (whether due to the content served or to the capabilities of the client device) render the Stratos UI unusable.

Modern apps address this by rendering page content both server- and client-side, so that the client gets a full HTML page with each request, and fallback behavior without JS is to reload the page with each click. This delivers both a quick first-load/reload experience and makes the UI usable by more users on more client apps/devices.

Context
  • Speed is a feature, particularly when it's subjective or degrades over high-latency connections.
  • Government deployments (eg cloud.gov, cloud.gov.au) need to ensure services are accessible to low-end devices wherever possible.
Possible Implementation

This would be achievable by upgrading to the latest version of AngularJS and using Angular Universal. Upgrading Angular brings other benefits for features and maintainability, of course!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.