
Next.js middleware for i18n: redirect users to their browser language
A Next.js middleware that reads the NEXT_LOCALE cookie and the Accept-Language header to redirect each visitor to their locale (Pages Router i18n).
35 posts in this category

A Next.js middleware that reads the NEXT_LOCALE cookie and the Accept-Language header to redirect each visitor to their locale (Pages Router i18n).

Project Fugu brings native-like capabilities to the web: the Web Share, Device Capabilities, Contacts and File System Access APIs, with code samples.

Decentralized applications, or DApps, are applications that run on a blockchain network. These applications are decentralized, meaning they…

The main service worker caching strategies (cache first, network first, stale-while-revalidate) with working fetch handlers and when to use each one.

What a service worker is, how its lifecycle (register, install, activate) works, and how to use it to cache assets and keep your web app working offline.

The world of web development has come a long way from the days of static HTML pages. Today, we have dynamic, responsive, and fast web…