Skip to content

Possible performance improvements #433

@ECWireless

Description

@ECWireless

Is your feature request related to a problem?

Not a specific problem, but general performance issues.

Describe the solution you'd like

  • All results in /lib/api/contracts can be cached, as they probably change infrequently and are called very often.
  • Move useChartData() fetching to getStaticProps()
  • Move independent calls to Promise.all(), instead of doing them sequentially.
  • Re-enable ENS pre-fetching in apollo queries (or at least investigate why this was disabled/commented out)
  • Add dynamic imports for OrchestratorList, ExplorerChart. these are big components with dependencies that will then be loaded when scrolled into view. This significantly reduces initial JS payload.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions