You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Page props are only ~12k for HMS NHS, so I'd expect download times under 100ms.
Additional context
Static builds (#2531) will fix this by serving static page HTML and JSON from the CDN cache. I'd still like to investigate why getServerSideProps is taking so long to run. It could be that there are redundant network calls being run for each page request, which we can remove.
The text was updated successfully, but these errors were encountered:
#2531 didn’t fix the page builds. getStaticProps can still take ~1s to execute. #2531 cached the page props so that getStaticProps isn’t run for every request.
Package
app-project
Describe the bug
Project Classify pages can take 1s or more to build on projects with workflow selection or subject set selection.
To Reproduce
On a project like HMS NHS or Davy Notebooks, go to Classify and wait for the workflow choices to load. The lag can be quite noticeable.
https://www.zooniverse.org/projects/msalmon/hms-nhs-the-nautical-health-service
https://www.zooniverse.org/projects/humphrydavy/davy-notebooks-project/
Expected behavior
Page props are only ~12k for HMS NHS, so I'd expect download times under 100ms.
Additional context
Static builds (#2531) will fix this by serving static page HTML and JSON from the CDN cache. I'd still like to investigate why
getServerSideProps
is taking so long to run. It could be that there are redundant network calls being run for each page request, which we can remove.The text was updated successfully, but these errors were encountered: