Home/2022
Archive

Year 2022

1,596 articles published in 2022.

Engineering — Release Radar

Release Radar

Each month, we highlight open source projects that have shipped major updates. These include everything from world-changing technology to developer tooling, and weekend projects. Here are our top staff picks…

MDMichelle DukeMichelle Duke·April 8, 2022Engineering
Security — Dynamic Data-Fetching In An Authenticated Next.js App — Smashing Magazine

Dynamic Data-Fetching In An Authenticated Next.js App — Smashing Magazine

Data is among the most important things that make up a web application or a conventional native app. We need data to be able to see and perhaps understand the purpose of an application. In this article, we’ll look at another approach to obtaining data in an application that requires authentication or authorization using Next.js.

COCaleb OlojoCaleb Olojo·April 8, 2022Security
Engineering — Devs For Ukraine, A Free Online Charity Conference 🇺🇦 — Smashing Magazine

Devs For Ukraine, A Free Online Charity Conference 🇺🇦 — Smashing Magazine

[Devs For Ukraine](https://www.devsforukraine.io/) is a free online charity conference organized by the lovely people at Remote. Two days filled with talks from engineering leaders around the globe, in support of Ukraine. The conference will take place April 25–26, 2022, with the goal to raise funds and provide support to Ukraine. The funds raised during the two days of the event will be evenly di

CMCosima MielkeCosima Mielke·April 6, 2022Engineering
Distributed — Handling Flaky Tests at Scale: Auto Detection & Suppression

Handling Flaky Tests at Scale: Auto Detection & Suppression

At Slack, the goal of the Mobile Developer Experience Team (DevXp) is to empower developers to ship code with confidence while enjoying a pleasant and productive engineering experience. We use metrics and surveys to measure productivity and developer experience, such as developer sentiment, CI stability, time to merge (TTM), and test failure rate. The DevXp…

APArpita Patel·April 5, 2022Distributed
Engineering — How To Get Work Done: Wrangling Stakeholders And Overcoming Obstacles — Smashing Magazine

How To Get Work Done: Wrangling Stakeholders And Overcoming Obstacles — Smashing Magazine

Whether you work in-house or for an external agency, we all share one challenge — dealing with stakeholders, be they your boss, colleagues, or clients. In this post, veteran web designer Paul Boag shares his approach to getting things done in even the most challenging organizations. He will also change some of our prejudices along the way. Because let’s be clear; we need other people for our websi

PBPaul BoagPaul Boag·April 5, 2022Engineering
Engineering — Internet disruptions overview for Q1 2022

Internet disruptions overview for Q1 2022

In this post, we review selected Internet disruptions observed by Cloudflare during the first quarter of 2022, supported by traffic graphs from Cloudflare Radar and other internal Cloudflare tools, and grouped by associated cause

DBDavid BelsonDavid Belson·April 4, 2022Engineering
Frontend — Adding CDN Caching to a Vite Build

Adding CDN Caching to a Vite Build

Content delivery networks, or CDNs, allow you to improve the delivery of your website’s static resources, most notably, with CDN caching. They do this by

ARAdam RackisAdam Rackis·April 4, 2022Frontend
Engineering — The end of the road for Cloudflare CAPTCHAs

The end of the road for Cloudflare CAPTCHAs

We decided we’re going to stop using CAPTCHAs. Before we talk about how we did it, and how you can help, let's first start with a simple question. Why in the world is CAPTCHA still used anyway?

CCloudflare·April 1, 2022Engineering
Frontend — The What, When, Why And How Of Next.js’ New Middleware Feature — Smashing Magazine

The What, When, Why And How Of Next.js’ New Middleware Feature — Smashing Magazine

Next.js’ recent 12.0 release included a new beta feature: middleware. For a detailed explanation, you can read all about it in Sam’s previous article, “[Next.js Wildcard Subdomains](https://www.smashingmagazine.com/2021/11/nextjs-wildcard-subdomains/)”. This article, on the other hand, dives into the overall concept of middleware and how handy it can be in building things.

SPSam PoderSam Poder·April 1, 2022Frontend
Engineering — Announcing the Spotify FOSS Fund

Announcing the Spotify FOSS Fund

TLDR: Spotify is starting a Free and Open Source Software Fund (FOSS Fund) to pay maintainers of independent projects. This new initiative is about giving back to open source developers and is one of the ways we are investing in a more sustainable open source ecosystem for all of us. The fund will start at 100K EUR, with Spotify’s engineers nominating what projects should receive funds and our fun

SESpotify Engineering·April 1, 2022Engineering
Engineering — Spotify Live: From Live to Recording

Spotify Live: From Live to Recording

(formerly ) is a platform that democratizes live audio streams. Creators are able to create rooms and stream live directly to fans who join the room. They can also interact directly with their fans either by text chatting in the app or bringing them up as speakers to interact by voice. But what about when the room ends? A creator could have had an incredible conversation they might want to preserv

RSRobert Segura, Senior Engineer·April 1, 2022Engineering
Engineering — Spotify’s Player API: Your Toolkit for Controlling Spotify Programmatically

Spotify’s Player API: Your Toolkit for Controlling Spotify Programmatically

In 2017, we launched the , a set of tools that developers could use to programmatically start, stop, and manage Spotify audio playback from the web. This post presents an overview of what you can do with the API, now called the Player API, and some background information about how it came to exist.

JBJosh Brown, Senior Developer Advocate·April 1, 2022Engineering
Engineering — WAF mitigations for Spring4Shell

WAF mitigations for Spring4Shell

Cloudflare Managed Ruleset updates for the recent vulnerabilities affecting the Java Spring framework and related software components

MTMichael Tremante, HimanshuMichael Tremante, Himanshu·March 31, 2022Engineering
Engineering — Future-proofing SaltStack

Future-proofing SaltStack

This blogpost chronicles the recent CVEs investigation, our findings, and how we are helping secure Salt now and in the Quantum future

LLenkaLenka·March 31, 2022Engineering
Performance — Best-in-Class Developer Experience with Vite and Hydrogen - Shopify

Best-in-Class Developer Experience with Vite and Hydrogen - Shopify

Hydrogen is a framework that combines React and Vite for creating custom storefronts on Shopify. It maximizes performance for end-users and provides a best-in-class developer experience for you and your team. Since it focuses on evergreen browsers, Hydrogen can leverage modern capabilities, best practices, and the latest tooling in web development to bring the future of ecommerce closer. Creating

SEShopify Engineering·March 31, 2022Performance
SRE & Ops — How Meta enables de-identified authentication at scale

How Meta enables de-identified authentication at scale

Data minimization — collecting the minimum amount of data required to support our services — is one of our core principles at Meta as we continue developing new privacy-enhancing technologies (PETs). We are constantly seeking ways to improve privacy and protect user data on our family of products. Previously, we’ve approached data minimization by exploring […]

CWChris Wiltz·March 30, 2022SRE & Ops
Networking — Optimizing Magic Firewall’s IP lists

Optimizing Magic Firewall’s IP lists

More and more users are using Magic Firewall’s IP lists to filter network traffic en route to their infrastructure. In response to that growth, we improved how our systems handle large sets of IPs

JJordanJordan·March 29, 2022Networking
Engineering — SmashingConf Is Back In 2022 — Smashing Magazine

SmashingConf Is Back In 2022 — Smashing Magazine

We love seeing what we all can do to make the web more accessible and usable. We also love organizing and attending online events, with our SmashingConf Live last year, and of course, our online workshops are here to stay! After two years when almost everything moved online, 2022 marks the return of in-person conferences. In fact, [SmashingConf is back](https://smashingconf.com/conferences): comin

JNJarijn NijkampJarijn Nijkamp·March 29, 2022Engineering
Frontend — Understanding Layout Algorithms

Understanding Layout Algorithms

As front-end developers, we often learn CSS by focusing on individual properties. Instead, we should focus on how the language uses those properties to calculate layouts. In this blog post, we'll pop the hood on CSS and see how the language is structured, and how to learn it effectively.

JWJosh W. Comeau·March 28, 2022Frontend
Distributed — Scaling Slack’s Mobile Codebases: Modularization

Scaling Slack’s Mobile Codebases: Modularization

In the first post about the Duplo initiative, we discussed the reasons for launching a project to revamp Slack’s mobile codebases, and what we accomplished in Duplo’s initial Stabilization phase. This post will explore modularization, and then there will be a third post to describe how we modernized our codebase and the overall results of…

TSTracy Stampfli·March 28, 2022Distributed
Engineering — A Guide To Hover And Pointer Media Queries — Smashing Magazine

A Guide To Hover And Pointer Media Queries — Smashing Magazine

In this article, we’ll talk about how to adapt our sites to the different scenarios of a device pointer: whether it has a pointer or not, or how accurate it is. To adapt our site to those devices’ needs we’ll talk about how to properly use media queries `hover`, `pointer`, `any-hover` and `any-pointer`.

CDCristian DiazCristian Diaz·March 28, 2022Engineering
Networking — Ridiculously easy to use Tunnels

Ridiculously easy to use Tunnels

Today, we’re thrilled to announce that we have launched a new solution to remotely create, deploy, and manage Tunnels and their configuration directly from the Zero Trust dashboard. This new solution allows our customers to provide their workforce with Zero Trust network access in 15 minutes or less

AAbeAbe·March 25, 2022Networking
Performance — Remix Routes Demystified — Smashing Magazine

Remix Routes Demystified — Smashing Magazine

In the past months, there have been lots of talks dedictaed to Remix. Routing is not only one of the things that sets it apart from other frameworks, but it also fuels great performance and improves the overall experience for developers. Let’s dig in to all of the features that build up routing in this powerful framework.

AFAtila FassinaAtila Fassina·March 25, 2022Performance
Engineering — Cloudflare Radar’s new ASN pages

Cloudflare Radar’s new ASN pages

Autonomous Systems (ASes) are a group of routable IP prefixes belonging to a single entity or organization, and is one of the fundamental building blocks of the Internet

CSCelso, Sofia CarditaCelso, Sofia Cardita·March 24, 2022Engineering
Databases — An update on recent service disruptions

An update on recent service disruptions

Over the past few weeks, we have experienced multiple incidents due to the health of our database. We wanted to share what we know about these incidents while our team continues to address them.

KBKeith BallingerKeith Ballinger·March 23, 2022Databases