DEV Community

Discussion on: Changelog: Site-wide design changes and a few other goodies

Collapse
 
ben profile image
Ben Halpern

This was also an opportunity to refactor the CSS and eliminate some duplication. Since we inline the critical path CSS for performance, every bite counts.

The logged in DEV home now delivers in 13.1kb with no render-blocking resources. For internal nav, the page fetches only 5.3kb because we don't need to refetch the layout and some resources.

Also experimenting with some H2 server push. πŸ™‚

Collapse
 
imthedeveloper profile image
ImTheDeveloper

My data plan would like to thank you

Collapse
 
ben profile image
Ben Halpern

We also pre-fetch some resources under the hood which adds a few more KB as you browse the site, but it's all way less than most other sites, and in the future we'll even allow some customization in your settings for how we go about fetching assets/content.

Collapse
 
hjfitz profile image
Harry

TPD is hosted on Heroku, right? How does H2 fare on it?

Collapse
 
ben profile image
Ben Halpern

That's all handled via our CDN Fastly

Collapse
 
alephnaught2tog profile image
Max Cerrina

I am always SO impressed by the responsiveness of the site--and the people working on it :D--and seriously appreciate how much content there is while not choking the connection or swarming in a million video ads that pop up randomly or hover.

Collapse
 
ben profile image
Ben Halpern

It's almost as if the founder of this site thinks the web doesn't have to suck. πŸ˜„

Thread Thread
 
alephnaught2tog profile image
Max Cerrina

Pfffffffffft, what a ridiculous idea! That's as whacky as implying that actual human build this stuff and not magic tube-forging robot pipelines.