discussions.json takes several seconds to even start after loading of page
Thanks to @fatihacet refactoring of the issue page using Vue, discussions are now asynchronously loading, we see a significant drop in the initial page load for issue 1 on GitLab.com:
While this is a great change, notice that it still takes several seconds before we even initiate the load of the discussions.json
page:
I've highlighted static assets (e.g. JavaScript, CSS) that are blocking this load. Because many of these load relatively slowly from gitlab.com
, it takes a while to both download the static files and render the DOM.
I think the next step is to turn on a CDN for this (https://gitlab.com/gitlab-com/infrastructure/issues/2092). We should simultaneously see how we can optimize this further.
Edited by Stan Hu