Title: Twitter takes 20 seconds to load on my phone made in 2020. It then takes about 5-10 more seconds for me to close all the popups and that&#x27;s IF it doesn&#x27;t fail along the way (which it does sometimes), IF I don&#x27;t misclick anything (which the website makes painstakingly easy).<p>All of that to load a list of 280 chars text messages, occasionally with a picture or a video. How come even my pocket supercomputer with 8 cores and 8GB RAM takes that much time to display just some text and pictures?<p>It&#x27;s yet worse with reddit.<p>I do understand that some companies may be motivated to break their own websites to force users to install spyware (&quot;it&#x27;s better in the app!&quot;), but making a broken website doesn&#x27;t take dozens of megabytes of JS. Same slowness could be achieved with a few setTimeout()s. What&#x27;s more, websites are slow even when they aren&#x27;t trying to push an app down your throat - e.g. the desktop versions of those same websites are hardly better, and even websites that don&#x27;t have an app to &quot;offer&quot; are oftentimes just as overengeneered.<p>What I&#x27;m trying to understand is what is the motivation behind this? I wouldn&#x27;t have any questions if webpages required manpower and optimizations to be fast - but on the contrary, anyone with most basic html skills can come up with a faster frontend than twitter&#x27;s[1] AND cover that same functionality (text, a few images and a couple of forms - ALL of this is covered by HTML alone, doesn&#x27;t even need a single line of JS!). This means that companies pay people to make their websites worse, and to do that in a laborious manner - again, not just some setTimeouts()s, but dozens of megabytes of code (and that&#x27;s compressed!). And I can&#x27;t help but wonder - what is the incentive for that? Why? A business should generally save money wherever possible and only spend it to make profits, shouldn&#x27;t it? I just can&#x27;t see how the crime against everything decent that is the twitter frontend could possibly benefit the company, or anyone for that matter. If anything it would harm it. And it costs it money.<p>[1] - see e.g. Nitter, Invidious, Teddit - all of those much more robust than the sites they grab data from. Also pretty sure that even if the people behind these did get paid, it was orders of magnitude less than what the people these companies have working on their frontends get paid.
Upvote: