News for hackers. Stuff that matters.
Re:How we improved our website's performance by joegahona on Sunday January 24, 2021 @09:10PM (#25898284)
> The problem with inlining all CSS is serving all the global styles all over again with every page load. You're gaining a great first impression at the cost of a poorer experience for every subsequent page load.

The vast majority of users will visit one and only one page.

Re:How we improved our website's performance by httpsterio on Sunday January 24, 2021 @10:41PM (#25898797)
why would you optimize your website for someone who only visits the one page?
Re:How we improved our website's performance by seanwilson on Sunday January 24, 2021 @11:19PM (#25899064)
On the extreme end, consider someone on a spotty and slow mobile connection going through Google results to find what they want. They're only going to give you a few seconds before they hit "back" on your site and try another. The round trip for the browser to fetch the CSS file after the HTML file arrives can be enough to cause that delay.
Re:How we improved our website's performance by phist_mcgee on Sunday January 24, 2021 @10:53PM (#25898861)
Because for every second of delay you add, you reduce your potential audience by a large degree. You optimise for first impressions, even though you know that a major proportion will click away anyway.
Re:How we improved our website's performance by austhrow743 on Sunday January 24, 2021 @11:58PM (#25899403)
Because most days you don't add more than one piece of content.