JavaScript isn&#x27;t the problem, but it seems to always take the blame. And its not even slow.<p>Here are a couple of real culprits:<p>* Advertising &#x2F; analytics &#x2F; social sharing companies. They deliver a boatload of code that does very little for the end-user.<p>* REST and HTTP 1 in combination. A page needs many different types of data. REST makes us send multiple requests for different kinds of data, often resulting with those 60-80 requests mentioned above. We could be sending a single request for some of them (e.g. GraphQL) or we could get HTTP 2 multiplexing and server push which completely fix that problem.<p>* JSON. Its simple but woefully inadequate. Has no built in mechanisms for encoding multiple references to the same object or for cyclic references. Want to download all the comments with the user info for every user? You have a choice between repeating the user info per comment, requesting the comments first then the users by id (two requests) or using a serialisation mechanism that supports object references (isn&#x27;t pure JSON)<p>* The DOM. Its slow and full of old cruft that takes up memory and increases execution time.