Hacker News new | past | comments | ask | show | jobs | submit login

You could load a modern Javascript-powered website in less than a minute with that.



Don't worry, as hardware advances roll out, software bloat will always expand to fill the vacuum.


Especially the linked blog post, as it doesn't render unless you allow JavaScript from gweb-cloudblog-publish.appspot.com (per uMatrix).

Webdevs: is there a reason why a page would be designed so that JS being on is mandatory? Especially for something as prosaic as a couple of paragraphs of text.


Laziness, baroque toolchains, and (most probably): Shipping your org chart.


Ever heard of React, Vue or Angular?

If you meant mandatory in terms of the actual medium requiring it, I can only hint to interactive applications, aside from that I don't think it would actually be mandatory.


All of those can be rendered server-side if needs be, and in my experience, can actually lead to a superior browsing experience compared to plain server-side served HTML. But it has to be done right.

Gatsby + Netlify with a CMS-as-a-service like Contentful or Prismic will lead you to a good result. We made e.g. https://fox-it.com/ using that, its back-end is Wordpress but it's drained empty to rebuild the website. Note how it works without JS, the dropdowns don't work but they fall back to full page navigation page. Note how with JS enabled, all the content shows up instantly. This is how it's supposed to be done.


Absolutely the can, yes. I wasn't saying they couldn't. I just answered the question. And those frameworks really introduced the idea of loading JS in order to load content to the broader masses. Things have evolved, sure and it can be done right, but nonetheless, those frameworks are a reason to force JavaScript on the user.


I got a blank page when I opened the web site. So as usual I looked at HN comments to see what it was about.

Here's an idea: add some HN logic to automatically move a comment that begins with "TL;DR" to the top of the thread.


That will just be abused


Perhaps not - if it required a high karma threshold


Now it’s really going to be abused…


> Webdevs: is there a reason why a page would be designed so that JS being on is mandatory?

I think in the case of Google, it's because they've been told they are the best developers, the top 1% of SWE's, they went through rigorous interviews, are paid a small fortune twice as much as they would get at a regular coding job, etc.

So it's dick shaking. They need to show to the world that they're better than plain HTML websites, that they have a massive schlong, that they out-chadded the vast majority of software devs. Plain html? Psht, we can invent our own language, gonna put those six years of uni to work! Wordpress? This is beneath us! It has to be a client-side rendered JS-pulled-through-GWT behemoth because on my system it's... wait it's slower, but nevermind that it's technologically ALPHA.

edit: actually looked at the source, looks like a Polymer / Web Components website. I've had to work in that once, it was dreadful compared to libraries used by real people.


Polymer is used by real people... even more-so if you include the spiritual successor to Polymer, LitElement. That's not to say either are incredibly popular, but still, that seems intentionally demeaning.

[0] https://www.npmjs.com/package/@polymer/polymer

[1] https://www.npmjs.com/package/lit-element


My browser loads that page like forever, until I remember to _allow_ javascript on that page, like why on earth they render everything except the content at all.


Yeah, it's one thing to build a page that wont render without Javascript, but making the only part that does render be a never-ending spinner is just rude.


This is what I encounter more often than not lately.

Is this due to more and more content simply generated by javascript frameworks?


Yes and because developers do not have time for the very few people who decided to disable javascript and not enable it when necessary.


But can I download a car with that speed?


if this were reddit, I'd be throwing gold at you.


That would be very kind but I'm quite glad it isn't.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: