Blog

Making a web page light and delightful

A minimal website can look dull. A website that loads in only about 20-30 kb, like this one, maybe does. But it doesn’t need to. There are different ways you can make a lightweight website look beautiful and give a delightful experience for the visitor. Let’s look at some ideas to design a beautiful website with a minimal environmental footprint.

Continue reading “Making a web page light and delightful”

Don’t go back and forth: using service workers to reduce your website’s footprint

When you visit a web page, your browser will ask the server to send the data it needs to build that page. The browser will then build the page with the received data, but maybe not completely from scratch. If you have visited that page before, the browser might have some parts of the page saved (or cached) on your computer. It will, however, always ask the server for some of the data.

What if we could tell the browser not to contact the server if the content has not changed? Well, we can: enter service workers. And they can even do much more than that.

Continue reading “Don’t go back and forth: using service workers to reduce your website’s footprint”