Skip to content

Improve performance on production by reducing JS payloads #1024

@julianguyen

Description

@julianguyen

Description

We've already done some significant work to improve performance (please note on production) including

  • Code splitting in Webpack 4
  • Inline rendering of CSS and Rails JS assets
  • Deferring JS assets from React
  • Using async on third party JS scripts
  • Gzipping
  • Minifying CSS in both Rails and React
  • Caching

The Audit tool in Google developer console is super rad (you should check it out if you haven't already). Our performance score went from ~3 to ~40 on mobile and ~0 to ~36 on desktop on the signed in home page (Simulated Fast 3G, 4x CPU slowdown).

There is still significant work we can do with cutting down on reducing JS payloads. See screenshots below for more details.

Screenshots

Mobile

screen shot 2018-09-26 at 6 46 10 pm

Desktop

screen shot 2018-09-26 at 6 56 30 pm

Payload Stats

image

image


Please assign yourself (via the Assignees dropdown), if you do want to work on this issue. Can't find yourself? You need to join our organization.

Check out our Picking Up Issues guide if you haven't already!

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