Saturday, January 31
Shadow

c2

The JavaScript Framework That Puts Web Pages on a Diet

The JavaScript Framework That Puts Web Pages on a Diet

c2
Svelte, created by a graphics editor for The New York Times, has attracted a following among programmers who want their pages to load faster. The average web page is about 2 megabytes, according to HTTP Archive, a site that tracks the performance of websites and the technologies they use. Sure you can download 2 megabytes in less than a second on a good 4G mobile connection. But today’s web pages are problematic for people on slow connections or with small bandwidth caps. Not all that long ago, a complex game or software program fit on a 1.4-megabyte floppy disk. There are many reasons today’s web is so bloated, including the ads and tracking scripts that saddle so many pages. Another reason is that websites do much more than just display text and images. Many sites now look and feel lik...