|
|
|
|
|
by Alifatisk
182 days ago
|
|
I like the new design, however, I strongly believe the website could've been optimized further and used much less JS. Opening the website with JS turned off makes the code examples not load and the front page freezes as "0%" loading. What does it do exactly? It just fetches[1] to another part of site and retrieves static text[2] to be displayed. This part could've been kept as part of the html, no need for this artificial loading. It's not a webapp, it's a website. 1. https://www.ruby-lang.org/javascripts/try-ruby-examples.js 2. https://www.ruby-lang.org/en/examples/i_love_ruby In this day and age, it is possible to have an appealing, responsive, lightweight website with no JS (maybe except for darkmode toggle). |
|
The homepage loads 9.7kB of JS. Navigating to every single link in the main nav results in no additional JS being loaded.
The site is fine.