client-web
client-web copied to clipboard
BUG: Demo subdomain takes around 20 seconds to load the spaces
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to https://demo.alkem.io/home
- It takes between 18 and 20 seconds to load the spaces
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.