3 ms·
From the article: "The web definitely has a speed problem due to over-design and the junkyard of tools people feel they have to include on every single web page
by Animats 11y ago
From the article: "The web definitely has a speed problem due to over-design and the junkyard of tools people feel they have to include on every single web page. However, I don’t agree that the web has an inherent slowness. The articles for the new Facebook feature will be sent over exactly the same connection as web pages. However, the web versions of the articles have an extra layer of cruft attached to them, and that’s what makes the web slow to load. The speed problem is not inherent to the web; it’s a consequence of what passes for modern web development. Remove the cruft and we can compete again."
I've been bitching about this ever since it became clear that CSS made web pages bulkier. (Yeah, it was supposed to make them shorter. Didn't happen.) We had much faster loading pages when people created HTML 3.2 with Dreamweaver and tables, and most of them looked about the same. Now we need HTTP2 so that all the "assets" can be loaded more effectively. There are even content management systems which generate bloated custom CSS for every page, with huge numbers of classed tags customized for each page. This eliminates any useful caching.
Some major sites have figured this out. The Wall Street Journal's home page has become shorter and simpler at the HTML level. Two years I looked at it, and some content management system was inserting the entire sign-up-for-a-subscription machinery on every page. They've fixed that. The Washington Post is inserting the same block of Javascript for each story. Somebody should tell those guys about functions.
I have a web service which strips all active content (Javascript, Flash, Active-X, Silverlight, etc.) from a page, parses it, and redisplays it. Most major news sites seem to work OK in that mode. Instagram is fine. (WhatsApp looks awful.) Much of the junk that slows page loading is providing little, if any, benefit to the user.
- cousin_it 11y agoSomething like Readability?
- scholia 11y agoI saved a Washington Post page -- a short interview -- and it came to 3054KB. I saved a NY Post page and it came to 2843K. For all I know, there could have been piles of background junk that weren't saved with the page. It does seem a bit remarkable that these sites need to ship 3 megabytes of stuff to deliver 20K of text.... I think I need your web service ;-)
- Animats 11y agoIf you want to try it, try http://www.sitetruth.com/fcgi/viewer.fcgi?url=news.ycombinator.com replacing the URL parameter with the desired web site. It's a tool we use to see how our crawler views a page. It reads the first 1MB from a URL, converts everything to UTF-8 based on the strict rules for charsets (no guessing), parses it with a HTML5 parser to create a parse tree, throws out the Javascript and Flash, makes all the links absolute, and emits a pretty-printed version. Most sites have readable text after this, although some features may not work. The ones that don't do something like creating the page with document.write(), or one of those "parallax" formats. It's a reasonable test to see if the web designers went completely overboard. If you're getting a blank page, search engines probably aren't indexing that page very well.
- scholia 11y agoMany thanks, will have a play...
- deleted 11y ago[deleted]
- webnrrd2k 11y agoI've said the same thing a few times -- life on the web would be much easier in many ways if they used html tables, but renamed it to "Grid" or "Layout" or some such.
- rjaco31 11y agoWhat's the difference between using your reader and simply having Javascript/Flash/etc deactivated? (beside not leaking the whole browsing history to your website & increased lantency)