Page 1 of 1

Long load times for non-browser cached pages using Chrome

Posted: Tue Mar 10, 2020 4:12 pm
by agrohe21
I have noticed that the initial load for a gargoyle page (bandwidth, overview, etc...) takes up to 25 seconds to load. Once loaded, it can be refreshed in <1s. Is this expected and normal behavior? If not, how would I go about showing this?

I have a .har from chrome. Would that work?

memory is 30% used and cpu shows ~1%.

I am using Chrome v80.0.3987.132.
I tried also on Chromium v80.0.3987.87 with the same behavior. However, Firefox 73.0.1 does not show this behavior.

Re: Long load times for non-browser cached pages

Posted: Tue Mar 10, 2020 4:19 pm
by Lantis
Are you using HTTPS?
There's a bug recently which causes extended TTFB (around 30 seconds).

It doesnt only affect Gargoyle.
You can disable http_keepalive for uhttpd and that should fix it, but there are reasons that is left on to begin with.

The issue seems much worse when using HTTPS

Re: Long load times for non-browser cached pages using Chrome

Posted: Tue Mar 10, 2020 4:20 pm
by agrohe21
yes, I enabled https only but I guess that is not necessary for internal usage at home.

Re: Long load times for non-browser cached pages using Chrome

Posted: Tue Mar 10, 2020 4:25 pm
by agrohe21
going to only http seems to make it quicker but Firefox seems to still be much quicker for Gargoyle. Maybe I have to use FF for Gargoyle admin.

Re: Long load times for non-browser cached pages using Chrome

Posted: Tue Mar 10, 2020 5:46 pm
by Lantis
Chrome is more affected by this issue than other browsers. I don't know why but that is consistently reported.