Skip to content

Feature Request: Enhancement / Performance #2859

@poniescollie

Description

@poniescollie

Is your feature request related to a problem? Please describe.

Problem Description

Eagerly loading all network-related assets can:

  • increase initial bundle size
  • slow down first contentful paint
  • negatively impact performance on low-bandwidth devices

Expected Behavior

  • Network-specific assets should be loaded only when needed.
  • Initial page load should include only the minimal required assets.
  • Switching networks should dynamically load additional resources.

Steps to Reproduce

  1. Load the Base website with a clean cache.
  2. Inspect network requests and JS bundle contents.
  3. Observe that assets/config for multiple networks are loaded upfront.

Describe the solution you'd like

Proposed Solution

  • Move network-specific configuration and assets behind dynamic imports.
  • Load only the active network’s assets during initial page render.
  • Lazily load additional network assets when a user switches networks or navigates to network-specific views.
  • Ensure dynamic loading is transparent to existing components.

Acceptance Criteria

  • Initial bundle excludes unused network-specific assets.
  • Network-specific assets load correctly when required.
  • No functional regressions when switching networks.
  • Observable improvement in initial load performance (bundle size or timing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions