3 ms·
> You are an extreme minority, and often any other visitor to a website who "looks like" you are malicious. Not really, a significant amount of the world brows
by bArray 5y ago
> You are an extreme minority, and often any other visitor to a website who "looks like" you are malicious.
Not really, a significant amount of the world browse the internet with a bandwidth marginally better than dial-up. A significant amount of the world browses the internet via something barely passable as a smartphone. A significant amount of the world do not have < 200ms ping.
> Why would anyone invest significant engineering time to placate a userbase that's far far smaller than Internet Explorer 10 usage?
The sort of person that can run a website and use a JS framework should not find static HTML a 'significant' effort. It could most definitely be automated.
Other points:
1. Increase accessibility. JS users will not be affected by not having JS. Your random JS will not always render the same. That CDN you link to might not be accessible everywhere.
2. Decrease bandwidth. Instead of just the content (and a little markup), you now have to load content + JS.
3. Decrease computation. The majority of the world accesses the internet through some device running on a battery. Instead of forcing all of those people to render your site individually, it makes tonnes more sense to render it once on the server end.
- baash05 5y agoBut this holds only for static sites. News sites perhaps. Most sites (including this one) have user content. These can't be generated server side. (Partially yes)
- bArray 5y agoThis rant was based on the OP's observation that very basic websites require JS to view plain text: > Lately, more and more simple and plain blogs require JS to show any text on website. HackerNews can definitely be partially cached, i.e. the front page. But HackerNews is on the other perfectly usable without JS - just because your content is dynamic does not mean it requires JS. You can even mostly use facebook without JS too: https://mbasic.facebook.com https://mbasic.facebook.com Nobody expects the full experience, but it should be usable. It doesn't require some insane engineering effort - in fact, the opposite - under-engineer the website!