Downloading 500kb of js and processing this is just a nogo. The best advice to anyone interested in page speed, dont use this crap.
Downloading 500kb of js and processing this is just a nogo. The best advice to anyone interested in page speed, dont use this crap.
Takes 4kb to full page render (1 file - static only - JavaScript disabled).
That’s smaller than most any html+css especially if using some css library.
Of course once that is loaded and if JavaScript is enabled, then it will start to load interactive stuff and prefetch (which is around 100kb - but I have a lot of interactive stuff - including a zork style adventure Easter egg in the site header).
https://developers.google.com/web/updates/2019/02/rendering-...
This is comparable to hacker news home page (which is purely static), but my first contentful paint was slightly faster (probably because my site is slightly smaller).
Both sites were about 4 times faster (TTI) than google home page and typescript home page.
Here is a post that explains some of the content that is interesting: https://ricklove.me/cool-stuff
Let me know how it does on a slow connection.
I guess I’ll know if someone finds the Bitcoin.
Update: I added a few more nerd lore passwords - thanks for the idea!
Overall, it was a very refreshing experience.
I did notice that for some components I need to show a loading indicator while they are loading async (for a slow connection).
Thanks for letting me know!
Just check the stats here: https://perf-track.web.app/react
Type “dir” in the header (or other activities in the “cool-stuff” post).
Moreover, I can build anything I want very quickly - with great engineering - and still get performance comparable to a static site.
React + react-dom is under 40kb minified gzipped. The other 460kb are your responsibility.