Andreas Taranetz

Sleek, Swift, and Sustainable: Optimizations every web developer should consider

Stop throwing hardware at performance problems. This case study reveals how to build a lightning-fast site on a minimal budget.

Sleek, Swift, and Sustainable: Optimizations every web developer should consider
#1about 3 minutes

The challenge of building fast websites for poor connections

Poor internet connectivity, like on a train, highlights the need for web performance beyond just adding more bandwidth or hardware.

#2about 4 minutes

Rebuilding a voting advice app for speed and accessibility

A dated and slow voting advice application was rebuilt from scratch with a focus on performance, accessibility, and a minimalist design.

#3about 1 minute

The three core principles of web optimization

Performance is gained by reducing three key factors: server computation, response size, and the number of network round trips.

#4about 4 minutes

Reducing server load with build steps and caching

Use a build process and implement caching at every layer, from database materialized views to browser caching with ETags and content hashes.

#5about 4 minutes

Shrinking asset size with modern formats and analysis

Reduce payload size by using modern compressed formats like WebP, responsive images with the picture tag, and analyzing JavaScript bundles for unnecessary code.

#6about 2 minutes

Leveraging server configuration and modern protocols

Configure your web server for optimal compression and enable HTTP/2 to benefit from features like header compression and server push.

#7about 3 minutes

Eliminating requests by inlining resources

Reduce network round trips by inlining critical CSS, using inline SVGs for icons, and relying on system fonts to avoid font file requests.

#8about 4 minutes

Using server-side pre-rendering for perceived speed

Server-side pre-rendering delivers a fast initial HTML page for a quick First Contentful Paint, improving perceived performance over standard client-side rendering.

#9about 2 minutes

Validating performance with unexpected viral traffic

The optimized application successfully handled a massive, unexpected traffic spike from a news anchor's tweet, serving as a real-world load test.

#10about 2 minutes

How web performance contributes to sustainability

Making websites more efficient not only reduces operational costs but also lowers their carbon footprint, aligning economic and ecological goals.

Related jobs
Jobs that call for the skills explored in this talk.

job ad

Saby Company
Delebio, Italy

Intermediate

d

Saby Company
Delebio, Italy

Junior

Featured Partners

Related Articles

View all articles
BB
Benedikt Bischof
Web Development Best Practices: What The Data Tells us
Welcome to the new issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Laurie Voss who gave advice about the best practices in web development. What you will learn:What’s the current state of web development - “k...
Web Development Best Practices: What The Data Tells us
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!

From learning to earning

Jobs that call for the skills explored in this talk.

Frontend-Entwickler

Frontend-Entwickler

infomax websolutions GmbH
Grassau, Germany

Intermediate
Senior
CSS
HTML
JavaScript
TypeScript
Web-Developer (m/w/d)

Web-Developer (m/w/d)

infomax websolutions GmbH
Grassau, Germany

Senior
Vue.js
Angular
JavaScript
TypeScript