Home/2021
Archive

Year 2021

2,150 articles published in 2021.

Frontend — The World of CSS Transforms

The World of CSS Transforms

The “transform” property is such a powerful part of the CSS language! In this blog post, we'll take a deep look at this property and see some of the nifty things it can do.

JWJosh W. Comeau·August 9, 2021Frontend
Networking — Risk-driven backbone management during COVID-19 and beyond

Risk-driven backbone management during COVID-19 and beyond

What the research is: A first-of-its-kind study detailing our backbone management strategy to ensure high service performance throughout the COVID-19 pandemic. The pandemic moved most social interactions online and caused an unprecedented stress test on our global network infrastructure with tens of data center regions. At this scale, failures such as fiber cuts, router misconfigurations, […] Read

MEMeta Engineering·August 9, 2021Networking
Performance — HTTP/3 From A To Z: Core Concepts — Smashing Magazine

HTTP/3 From A To Z: Core Concepts — Smashing Magazine

After almost five years in development, the new HTTP/3 protocol is nearing its final form. Earlier iterations were already available as an experimental feature, but you can expect the availability and use of HTTP/3 proper to ramp up over in 2021. So what exactly is HTTP/3? Why was it needed so soon after HTTP/2? How can or should you use it? And especially, how does it improve web performance? Let

RMRobin MarxRobin Marx·August 9, 2021Performance
Performance — New Nuxt Features past v2.10

New Nuxt Features past v2.10

Nuxt offers an incredible developer experience, with a lot of performance and application setup best practices baked in. In recent releases, they’ve been

SDSarah DrasnerSarah Drasner·August 6, 2021Performance
Design & UX — gridless.design

gridless.design

Donnie D'Amato built a whole site around the thesis that "digital designers still expect to use the grid while experienced layout engineers have moved beyond

CCChris Coyier·August 6, 2021Design & UX
SRE & Ops — How we built a general purpose key value store for Facebook with ZippyDB

How we built a general purpose key value store for Facebook with ZippyDB

ZippyDB is the largest strongly consistent, geographically distributed key-value store at Facebook. Since we first deployed ZippyDB in 2013, this key-value store has expanded rapidly, and today, ZippyDB serves a number of use cases, ranging from metadata for a distributed filesystem, counting events for both internal and external purposes, to product data that’s used for […]

MEMeta Engineering·August 6, 2021SRE & Ops
Performance — Cloudflare Helps K-12s Go Back to School

Cloudflare Helps K-12s Go Back to School

Cloudflare is excited to announce our Back to School initiative that provides special K-12 Education pricing to help school districts stop cyber attacks while improving web performance.

NKNandini, Kristina WilliamsNandini, Kristina Williams·August 5, 2021Performance
Engineering — Release Radar

Release Radar

It’s been a busy time of the year for our Hubbers (GitHub employees). We’ve been shipping products, getting ready for launches, and taking some much needed time off for the…

MDMichelle DukeMichelle Duke·August 5, 2021Engineering
Design & UX — Usability Pitfalls of Disabled Buttons, and How To Avoid Them — Smashing Magazine

Usability Pitfalls of Disabled Buttons, and How To Avoid Them — Smashing Magazine

How can we make disabled buttons more inclusive? When do they work well, and when do they fail on us? And finally, when do we actually need them, and how can we avoid them? In this article, Vitaly Friedman will take a look to common usability issues with disabled buttons, how to fix these issues and when disabling buttons actually makes sense. We’ll start from the beginning, looking into when disa

VFVitaly FriedmanVitaly Friedman·August 5, 2021Design & UX
Engineering — The State Of Web Workers In 2021

The State Of Web Workers In 2021

You gotta appreciate the tenacity of Surma. He's been advocating for Web Workers as a path forward to better-feeling websites for a lot of years now. He's at

CCChris Coyier·August 4, 2021Engineering
Security — Open sourcing Winterfell: A STARK prover and verifier

Open sourcing Winterfell: A STARK prover and verifier

We are releasing Winterfell, our implementation of a STARK prover/verifier to Crates.io Winterfell is an easy to use open source implementation of STARKs for security and privacy applications. One potential application for Winterfell’s zero-knowledge proofs is blockchain privacy and scalability. “Any sufficiently advanced technology is indistinguishable from magic.” —Clarke’s Third Law What if the

MEMeta Engineering·August 4, 2021Security
Performance — React Children And Iteration Methods — Smashing Magazine

React Children And Iteration Methods — Smashing Magazine

In this article, we’ll discuss and learn about the use case of iterating over React `children` and the ways to do it. In particular, we will deep dive into one of the utility methods, `React.Children.toArray`, that React gives us, which helps to iterate over the children in a way which ensures performance and determinism.

AVArihant VermaArihant Verma·August 4, 2021Performance
Performance — Durable Objects: Easy, Fast, Correct — Choose three

Durable Objects: Easy, Fast, Correct — Choose three

When multiple clients access the same storage concurrently, race conditions abound. Durable Objects can make it easier. We recently rolled out improvements to Durable Objects that automatically correct many common race conditions while actually making your code faster.

KVKenton VardaKenton Varda·August 3, 2021Performance
Engineering — Serverless Functions as Proxies

Serverless Functions as Proxies

The first time cloud functions / serverless functions clicked for me was when I saw and tried Auth0's (now defunct) Webtask. It was a little CodePen-like IDE

CCChris Coyier·August 3, 2021Engineering
Engineering — A Deep Dive on Skipping to Content

A Deep Dive on Skipping to Content

While most people browsing the web on a computer use a mouse, many rely on their keyboard instead. Theoretically, using a web page with the keyboard should

PRPaul Ratcliffe·August 3, 2021Engineering
Frontend — How To Build Resilient JavaScript UIs — Smashing Magazine

How To Build Resilient JavaScript UIs — Smashing Magazine

Embracing the fragility of the web empowers us to build UIs capable of adapting to the functionality they can offer, whilst still providing value to users. The User Experience (UX) doesn’t need to be all or nothing — just what is usable. This premise, known as graceful degradation allows a system to continue working when parts of it are dysfunctional — much like an electric bike becomes a regular

CHCallum HartCallum Hart·August 3, 2021Frontend
Frontend — How to Code a Playable Synth Keyboard

How to Code a Playable Synth Keyboard

With a little knowledge of music theory, we can use regular HTML, CSS and JavaScript — without any libraries or audio samples — to create a simple digital

BCBret CameronBret Cameron·August 2, 2021Frontend
Distributed — Evolution of search engines architecture - Algolia New Search Architecture Part 1 - High Scalability -

Evolution of search engines architecture - Algolia New Search Architecture Part 1 - High Scalability -

What would a totally new search engine architecture look like? Who better than Julien Lemoine, Co-founder & CTO of Algolia, to describe what the future of search will look like. This is the first article in a series. Search engines, and more generally, information retrieval systems, play a central role in almost all of today’s technical stacks. Information retrieval started in the beginning of com

HSHigh Scalability·August 2, 2021Distributed
Frontend — Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

After analyzing CSS and its weaknesses, and management giving a green light to the refactoring project, it’s time to get to work. A team needs to agree on the internal code standards and best practices, plan out the refactoring strategy, and outline individual tasks. We need to set up a visual regression testing suite, and a maintenance plan to enforce the new standards and best practices in the f

ABAdrian BeceAdrian Bece·August 2, 2021Frontend
Engineering — Four Lessons We Learned from Creating Spotify’s Desktop App

Four Lessons We Learned from Creating Spotify’s Desktop App

TL;DR Over the years, Spotify’s brand has expanded to encompass a number of products, from mobile apps to to . But sitting at the core is our flagship product, the one that started it all: the desktop app. In of our podcast series, “”, host and Chief R&D Officer Gustav Söderström walks through how the app (and Spotify in general) came to be — and the product lessons you should take away from that

SESpotify Engineering·August 1, 2021Engineering
Engineering — The Future of Work at Cloudflare

The Future of Work at Cloudflare

During Impact Week, we've shared how Cloudflare is providing tools for our customers to minimize their environmental impact as well as what we, as a company, are doing to help society at large. But some critical stakeholders we haven’t talked much about yet are Cloudflare's more than 2,000 employees

MPMatthew Prince, Michelle ZatlynMatthew Prince, Michelle Zatlyn·July 30, 2021Engineering
Engineering — Building a sustainable workforce, through communities

Building a sustainable workforce, through communities

At Cloudflare, we place a lot of value on the importance of diversity, equity and inclusion. Diversity, equity, and inclusion lead to better outcomes through improved decision-making, more innovative teams, stronger financial returns and simply a better place to work for everyone.

JVJanet Van HuysseJanet Van Huysse·July 30, 2021Engineering
Career & Teams — Introducing Greencloud

Introducing Greencloud

Greencloud is a coalition of Cloudflare employees who are passionate about the environment. Initially founded in 2019, we’re a cross-functional, global team with a few areas of focus: Awareness, Support, and Advocacy.

AFAnnika, FranciscoAnnika, Francisco·July 30, 2021Career & Teams
Engineering — Cloudflare is joining Pledge 1%

Cloudflare is joining Pledge 1%

We're excited to announce that Cloudflare is joining Pledge 1%. We're joining the more than 12,000 companies in 100 countries that are committed to making a tangible, positive impact in their communities.

MZMichelle ZatlynMichelle Zatlyn·July 30, 2021Engineering
Frontend — A Shared ESLint Configuration

A Shared ESLint Configuration

Looks like it was almost 9 years ago when Airbnb first published their JavaScript Style Guide. 112k stars on GitHub later, it seems like the de facto preset

CCChris Coyier·July 30, 2021Frontend
Frontend — How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

Having an e-commerce store is crucial for any store owner as more and more customers are turning to online shopping. In this article, Zara Cooper will cover how to build an e-commerce store using Angular 11. You shall use Commerce Layer as our headless e-commerce API. Although there may be tonnes of ways to process payments, she’ll demonstrate how to use just one, Paypal.

ZCZara CooperZara Cooper·July 30, 2021Frontend
Engineering — Cloudflare's Human Rights Commitments

Cloudflare's Human Rights Commitments

Today, we are releasing our first human rights policy. The policy sets out our commitments and the way we implement them. Cloudflare’s mission — to help build a better Internet — reflects a long-

ASAlissa Starzak, Patrick DayAlissa Starzak, Patrick Day·July 29, 2021Engineering
SRE & Ops — A linear programming approach for optimizing features in ML models

A linear programming approach for optimizing features in ML models

Whether it’s iterating on Facebook’s News Feed ranking algorithm or delivering the most relevant ads to users, we are constantly exploring new features to help improve our machine learning (ML) models. Every time we add new features, we create a challenging data engineering problem that requires us to think strategically about the choices we make. […]

MEMeta Engineering·July 29, 2021SRE & Ops
Frontend — There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

What are absolute units? What are the differences between relative and absolute units, and how do we create accurate sizes on the web? It’s important to note that there are still significant differences between relative and absolute units. CSS relative units are sized according to other style definitions defined by parent elements or are affected by the size of a parent container. As for absolute

ESElad ShechterElad Shechter·July 29, 2021Frontend
Networking — Introducing Smart Edge Revalidation

Introducing Smart Edge Revalidation

When both Last-Modified and Etag headers are absent from the origin response, Smart Edge Revalidation will use the time the object was cached on Cloudflare as the Last-Modified header value. When

AYAlex, YuchenAlex, Yuchen·July 28, 2021Networking
Engineering — Safari 15 Opinions

Safari 15 Opinions

It was interesting that when Safari 15 was dropping at this last WWDC, in my circles at least, I mostly heard enthusiasm. Like the

CCChris Coyier·July 28, 2021Engineering