client-web icon indicating copy to clipboard operation
client-web copied to clipboard

BUG: Demo subdomain takes around 20 seconds to load the spaces

Open Comoque1 opened this issue 7 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://demo.alkem.io/home
  2. It takes between 18 and 20 seconds to load the spaces image.png
query DashboardSpaces($visibilities: [SpaceVisibility!] = [ACTIVE]) {
  spaces(filter: {visibilities: $visibilities}) {
    ...SpaceCard
    __typename
  }
}

fragment SpaceCard on Space {
  id
  profile {
    id
    url
    displayName
    tagline
    tagset {
      ...TagsetDetails
      __typename
    }
    cardBanner: visual(type: CARD) {
      ...VisualUri
      __typename
    }
    __typename
  }
  authorization {
    id
    anonymousReadAccess
    __typename
  }
  metrics {
    name
    value
    __typename
  }
  community {
    id
    myMembershipStatus
    __typename
  }
  context {
    id
    vision
    __typename
  }
  account {
    id
    license {
      id
      visibility
      __typename
    }
    __typename
  }
  __typename
}

fragment TagsetDetails on Tagset {
  id
  name
  tags
  allowedValues
  type
  __typename
}

fragment VisualUri on Visual {
  id
  uri
  name
  __typename
}
{
  "visibilities": [
    "ACTIVE"
  ]
}

Expected behavior Spaces cards load in 2 seconds.

Comoque1 avatar Jul 26 '24 11:07 Comoque1