3 ms·
> 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
by joegahona 6y ago
> 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.
- httpsterio 6y agowhy would you optimize your website for someone who only visits the one page?
- phist_mcgee 6y agoBecause 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.
- seanwilson 6y agoOn 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.
- austhrow743 6y agoBecause most days you don't add more than one piece of content.