WebPagetest Forums
gap between html and first file - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: gap between html and first file (/showthread.php?tid=12851)

gap between html and first file - GreenGecko - 03-11-2014 06:00 AM

I'm setting up a new web server, and this is a static html site that's being used as the first test. It's a big dedicated server, so performance is expected to be pretty good! Environment is CentOS 6 / nginx. I have a dead space between the delivery of the html and the style.css - the first required file. Is his something that I can reduce from the server side?




RE: gap between html and first file - pmeenan - 03-11-2014 06:10 AM

It depends on what's in the html. You can try on a faster test system to see if it's mostly just an issue of an under-powered test agent (the Dulles Thinkpads are dedicated core i5's and should give you a good floor).

If there's a lot of script or complicated layout then it's possible that it's taking the browser that long to chug through it. It may not start on resource requests (Chrome anyway) if the main thread has a lot of contiguous work to do. You can capture a dev tools timeline to get a better idea of what the browser is doing.

RE: gap between html and first file - histerius - 03-12-2014 07:16 PM

I'd start with removing one doctypes, you have two of them for which I see no reason. Simply put <!DOCTYPE html> and see what happens. Then, you are using highslide.js but I see you are using mainly to show bigger images and I'd recommend slimbox. And I'd move language declaration up, just below <title>.