logoalt Hacker News

miyurutoday at 9:13 AM4 repliesview on HN

I just tried their domains page it took 10.8MB of data and took 2s for the DOM to be ready.

page actually took 17s to fully render with multiple shift changes.

all to render a domain search bar similar to google home page.

https://railway.com/domains


Replies

toddmoreytoday at 6:17 PM

There are some easy optimizations wins for this page but none of the top ones are framework related. Maybe with the faster build times they can easily optimize images and 3rd party dependencies. As someone else pointed out, nearly half that data is unoptimized images.

For the curious, google's current homepage is a 200kb payload all in, or about 50 times smaller.

show 1 reply
petcattoday at 5:24 PM

web dev is a sewer

All my projects are server rendered with jinja/minijinja, bootstrap, jQuery, and htmx when I need a little bit of SPA behavior on forms.

No builds, just static <script src= tags. Very fast and easy. I'll never recommend anything else.

show 4 replies
anematodetoday at 5:24 PM

Dear lord. It's actually laggy for me to scroll on that page.

show 1 reply
gib444today at 5:31 PM

The 3.57MB background PNG is hilarious [0]

[0] https://railway.com/dots-oxipng.png

show 3 replies