Techreport blog

Engineering Insights & Guides

The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

13,309 articles
Engineering — Service worker mindset

Service worker mindset

Working with service workers is new and unfamiliar for many web devs. This post provides some tips for wrapping your mind around them.

Wweb.dev·Engineering
Frontend — Service workers and the Cache Storage API

Service workers and the Cache Storage API

The browser's HTTP cache is your first line of defense. It's not necessarily the most powerful or flexible approach, and you have limited control over the lifetime of cached responses. But there are several rules of thumb that give you a sensible caching implementation without much work, so you should always try to follow them.

Wweb.dev·Frontend
Databases — Setting up a payment method

Setting up a payment method

A payment transaction using Web Payments starts with the discovery of your payment app. Learn how to set up a payment method and get your payment app ready for merchants and customers to make payments.

Wweb.dev·Databases
Engineering — Signed Exchanges (SXGs)

Signed Exchanges (SXGs)

An SXG is a delivery mechanism that makes it possible to authenticate the origin of a resource independently of how it was delivered.

Wweb.dev·Engineering
Security — SMS OTP form best practices

SMS OTP form best practices

Asking a user to provide a one-time password is a common way to confirm a user's identity. Learn best practices to build an SMS OTP form, with great user experience.

Wweb.dev·Security
Engineering — Social discovery

Social discovery

You can influence the way your site appears when shared via social media by adding a few lines of code to each page. This can help bring more people to your site by providing previews with richer information than would otherwise be available.

Wweb.dev·Engineering