|
Since this article mention's Gwern's site several times: While I admire Gwern's work a lot, I often find his website is trying to do so much that my browser will really struggle. Especially on mobile. It's bad enough I usually avoid reading there, which is a shame. I'm not sure exactly what causes it, but it might be a combination of page length with many layers of nested, richly formatted and embedded content. |
As a web developer, I often look at the HTML and CSS of interesting websites…
I gotta say, I've never seen anything quite like https://gwern.net.
It's an impressive looking site IMHO; but pretty much everything he's done is very user hostile and wasteful of the user's resources, like downloading 14 fonts.
He's doing everything you're not supposed to do if you care about your users or performance in general.
Every page is pretty much like this.
From cssstats.com:
Rules: 1,484
Selectors: 1,757
Declarations: 3,914
Properties: 243
Total Selectors by Type
Selectors are the part of a CSS ruleset that describes what elements in a document the rule will match.
ID: 534
Class: 1,516
Pseudo Class: 296
Pseudo Element: 382
It just goes on and on like this.