This site more or less practices what it preaches. `newsbanner.webp` is 87.1KB (downloaded and saved; the Network tab in Firefox may report a few times that and I don't know why); the total image size is less than a meg and then there's just 65.6KB of HTML and 15.5 of CSS. And it works without JavaScript... but there does appear to be some tracking stuff. A deferred call out to Cloudflare, a hit counter I think? and…
The 49MB web page
381–389 of 389 posts
Re: The 49MB web page
#382Allowing scripting on websites (in the mid-90s) was a completely wrong decision. And an outrage. Programs are downloaded to my computer and executed without me being able to review them first—or rely on audits by people I trust. That’s completely unacceptable; it’s fundamentally flawed. Of course, you disable scripts on websites. But there are sites that are so broken that they no longer work properly, since the deve…
> Programs are downloaded to my computer and executed without me being able to review them first—or rely on audits by people I trust. JavaScript and WebAssembly programs are always executed in a sandboxed VM, without read access to the host OS files (unless, of course, you grant it). Enabling scripting was a necessary step for interactive websites. Without it, a full page load would be required every time you upvote…
Re: The 49MB web page
#383Earlier quoted context omitted.
I tried to fight against the introduction of GTM in a project I worked on; we spent a lot of effort on coding, reviewing, testing, optimizing and minimizing client-side code before our end-users would see it, and the analytics people want a shortcut to inject any JS anywhere? I didn't win that one, but I did make sure that it would only load after the user agreed to tracking cookies and the like.
Similar story here. I had to remind them multiple times, that the website was not conforming with the law, and explain multiple times, that the consent dialog was not implemented correctly, or point out, that stuff was loaded before consenting, etc. They mostly found it annoying, of course. And of course no one thanked me for saving the business from running into any complications with the law. As far as I know, I wa…
The law is just an annoying thing getting in the way of our profits.
Re: The 49MB web page
#384Earlier quoted context omitted.
Out of curiosity, do you have (and want to share) stats about requests per second? It's always nice to know these things for future reference. No worries if not :)
Not the author, but last year I wrote about my experience being on #1 on HN [0]. I created a visualization of the requests hitting my server. [0]: https://idiallo.com/blog/surviving-the-hug-of-death
Btw. was the writing assisted by AI or is it all you?
Re: The 49MB web page
#385Earlier quoted context omitted.
'Running a business' is not carte blanche to do whatever you like to get money, and it does not silence valid criticism. Businesses still exist in society and have to act accordingly. A primary mechanism that society has to enforce rules is criticism and shame.
Have you ever entertained that maybe consumers should act accordingly too? That website is loaded with too many ads, I left it and am not going back. Not That website has too many ads, I'm getting an ad blocker and going back.
Re: The 49MB web page
#386Our developers managed to run around 750MB per website open once. They have put in ticket with ops that the server is slow and could we look at it. So we looked. Every single video on a page with long video list pre-loaded a part of it. The single reason the site didn't ran like shit for them is coz office had direct fiber to out datacenter few blocks away. We really shouldn't allow web developers more than 128kbit o…
This breaks my brain..."run around 750MB" "per website" "open once".
Do you mean your company had several websites (as in unique websites), and each had 750MB? Or the transferred data volume of each was 750MB? Or just the first page? Or the source code?
And do you mean "open once", as in "once upon a time", or if you open the website one time? Or did your developers open and shut websites, and the open ones had 750MB? Or one time when you entered your developer's office space, you saw they had opened several websites on their computers, random ones, and by coincidence you saw the network tabs and each was 750MB data transferred?
Re: The 49MB web page
#387Earlier quoted context omitted.
Didn’t want to upgrade the memory?
It’s the speed of the JavaScript compiler, on those old browsers they were expected to handle a few kilobytes max of event listeners. The chrome vs Firefox browser wars sped up JavaScript compilation by 10x at least
Re: The 49MB web page
#388Re: The 49MB web page
#389Earlier quoted context omitted.
Look at literally every website you use. How many of them aren’t doing shitty things like what’s being described? If you want to define every single organization as ‘broken’… okay then. It’s the organizations. But I will still blame the people whose job is supposedly UI and the “experience” of users, but who mostly just want to make their own kewl widgets because they think they have exquisite taste and are smarter t…
[flagged]