Skip to content

Perf: Improve initial page load experience #306

@Fcmam5

Description

@Fcmam5

Describe the bug

As a user/crawler, I should see minimal content when pages are loading. And ideally, the page loads faster for me.

To Reproduce
Steps to reproduce the behavior:

  1. Empty cache and access to any page

Expected behavior

  • See "something" while the page is loading.
  • Load the main/important content at first, instead of none or everything

Screenshots

Google lighthouse score might also confirm this issue:

image

Possible solutions

  • Prioritize content loading over unnecessary assets that can be lazy-loaded (for example article content over GH contributors)
  • Dynamically render components
  • Cache Backend-to-data source requests/queries
  • Consider SSR
  • Do more work on the backend (for example fetching contributors lists and returning their avatars).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions