| ▲ | miyuru 13 hours ago |
| 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 |
|
| ▲ | toddmorey 4 hours ago | parent | next [-] |
| 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. |
| |
| ▲ | mattmanser 4 hours ago | parent [-] | | Who remembers sprite sheets? Does that give my age away? I did an optimization pass for a client once where I got rid of a ton of the sprites but didn't have the energy to redo it all, so it just had huge sections that were blank. Super snappy loading afterwards though. | | |
| ▲ | ricardobeat 3 hours ago | parent [-] | | Yes, good times! With http2/3 they don't really matter anymore though, you get similar benefits from request pipelining. | | |
| ▲ | chrisweekly an hour ago | parent [-] | | Spriting is actually harmful for performance except in specific HTTP-1 scenarios. |
|
|
|
|
| ▲ | petcat 5 hours ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | nicksergeant 4 hours ago | parent | next [-] | | I'm coming back to Django after a decade of experience with it post-0.96 and having moved to Next.js a few years ago. Going from 1,700 dependencies to 65 total with Django + Wagtail + HTMX. | |
| ▲ | pjmlp 3 hours ago | parent | prev | next [-] | | When I am given the choice to pick a stack, it is classical Java and .NET Web frameworks, with minimal JavaScript. On hobby projects same script approach without any kind of build step. | |
| ▲ | bastardoperator an hour ago | parent | prev | next [-] | | Sounds more difficult then modern web frameworks. We've all done this for little projects, but anything with users or development teams, your method is DOA. | |
| ▲ | giancarlostoro 4 hours ago | parent | prev [-] | | With C#'s Blazor templating, you can ditch all JS logic, and use raw C# for all front-end logic, and have it all be transparently server rendered similar to how Phoenix has LiveView. I also have experimented with HTMX and Django, and that seems to be a nice combination. Everything is AJAX again. | | |
| ▲ | CharlieDigital 3 hours ago | parent [-] | | I've a C# fanboy, but Blazor's DX just isn't very good compared to say Vite. There are many conditions under which the hot reload just straight up crashes out regularly. |
|
|
|
| ▲ | anematode 5 hours ago | parent | prev | next [-] |
| Dear lord. It's actually laggy for me to scroll on that page. |
| |
| ▲ | hazelnut 4 hours ago | parent [-] | | same here and I'm using a beefy MacBook (Apple M4 Max, 64gb ram). something is wrong with the front end code. there are a lot of animations, so my hunch would be that something goes wrong there. | | |
| ▲ | anematode 3 hours ago | parent [-] | | Moore said computers get twice as fast every 18 months. Web devs took that as a challenge. | | |
| ▲ | OJFord an hour ago | parent [-] | | He said transistor count on chip doubles. (The more accurate pithy comment would be they took it as available resources.) | | |
|
|
|
|
| ▲ | gib444 4 hours ago | parent | prev [-] |
| The 3.57MB background PNG is hilarious [0] [0] https://railway.com/dots-oxipng.png |
| |
| ▲ | allthatineed 2 hours ago | parent | next [-] | | I got it down to 1.03MB by just switching the png to palette encoding mode. | |
| ▲ | picardo 3 hours ago | parent | prev | next [-] | | They could have saved themselves 3MB by converting it to AVIF. | |
| ▲ | rubyn00bie 4 hours ago | parent | prev [-] | | Ha! I normally wouldn’t find it quite so hilarious, but it’s a stylistically pixelated image. There’s just too much irony packed in there to not chuckle. | | |
| ▲ | c-hendricks 3 hours ago | parent [-] | | It's more halftone (might not be the correct term), not pixelated There might be more irony in saying it's stylized pixels without realizing that the style of the image can't be replicated with blocks of the same size but I dunno, I'm not Alanis Morissette |
|
|