Press "Enter" to skip to content

The Website Diet

In times like this where we have to stay home we are rapidly moving our daily offline life to online. Networks are suffering of our highly increased usage and we experience this as users by longer loading times and even unreachable websites. Should websites we use go on a diet, to increase our user experience?

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. Today’s web pages are problematic for people on slow connections or with small bandwidth caps. There are many reasons today’s web is so bloated, including the ads and tracking scripts that saddle so many pages.

To build these interactive sites, many web developers turn to open source packages that handle common tasks.

Should you have an interactive website | Digital Marketing Tips

Facebook’s popular open source React library for building user interfaces, for example, weighs in at 100 kilobytes. Web developer Shawn Wang says he cut the size of his personal website from 187 kilobytes to 9 kilobytes by switching from React to Svelte.

“Svelte is like a space elevator,” Wang says. The framework was tricky to create, but advocates say it makes it easier for developers to build efficient apps. Wang says he likes to use Svelte for web pages, but he still uses React for larger applications, including his professional work.

There’s much greater demand for React developers than Svelte developers. In the State of JavaScript 2019 survey of more than 21,000 developers, 88 percent of respondents who had used Svelte said they were satisfied with it, giving it the second highest satisfaction rating in the survey, just behind React’s 89 percent satisfaction rate. Only 7.8 percent of respondents had used Svelte, and 24.7 percent had never heard of it. Read the whole article here

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2020, Next Chapter News