Page MenuHomePhabricator

[Bug] (k8s and vm) long load time between clicking the "Create Demo" button and going to the install progress prage
Closed, ResolvedPublic

Event Timeline

Testing on my local setup vs production:

Screenshot 2024-11-13 at 7.57.30 PM.png (1×3 px, 441 KB)

Screenshot 2024-11-13 at 7.56.53 PM.png (1×3 px, 638 KB)

I'm wondering if flush() directly in the code (yes it will make it uglier) can make the page start to render earlier? It seems like it's still a lot of time before the browser starts to consider to render the page and I'm thinking that is because the server holds the on to the data? Is our backend server serve HTTP2?

Else I would look so that not the nginx in front of the server is the one that waits for the content and then delay things to the browser?

I think the 206 HTTP header is more used if you push a large file and part of its is downloaded?

@Peter Thanks for the suggestion! ob_implicit_flush is set to true already and we also tried adding flush() in the code but it didn't make a difference.

I wasn't sure about the 206 header either but we tested the change on our staging cluster and now have deployed to production. I think it is because we want to render the page before the new.php code has run to completion.

Finally there is no wait for page load!

thcipriani claimed this task.
thcipriani subscribed.

Deployed and merged (not in that order)