StatEngine/stat-engine

Optimization Pass

Opened this issue · 2 comments

Our lighthouse score is horrible:

image

Please provide recommendations on how to improve performance, in particular.

Here are some improvements we can make:

  • Reduce number of Authorization local calls (currently call 5 times on fresh load)
  • Inline critical css to DOM
  • Simplify design so we can use less fonts. Currently we use 10+ different fonts
  • Lazy load more components (Currently loads 8MB of JS, 4MB of business logic, 4MB of vender js)

Server Optimization:

  • HTTP2 server-push css/fonts/JS

The lighthouse report gives alot of good suggestions as well but a lot of them are big effort tasks

Yikes!!!!

Can you start working on:

  1. Reduce number of Authorization local calls (currently call 5 times on fresh load).
  2. Simplify design so we can use less fonts. Currently we use 10+ different fonts
  3. Lazy load more components (Currently loads 8MB of JS, 4MB of business logic, 4MB of vender js) (and ensure proper cachinng)