Home/web.dev
Source

web.dev

904 articles from web.dev.

Frontend — Photoshop's journey to the web

Photoshop's journey to the web

Over the last three years, Chrome has been working to empower web applications that want to push the boundaries of what's possible in the browser. One such web application has been Photoshop. The idea of running software as complex as Photoshop directly in the browser would have been hard to imagine just a few years ago. However, by using various new web technologies, Adobe has now brought a publi

Wweb.dev·Frontend
Engineering — Codelab: Build a push notification client

Codelab: Build a push notification client

A step-by-step interactive tutorial that shows you how to build a client that subscribes the user to push notifications, displays push messages as notifications, and unsubscribes the user from push notifications.

Wweb.dev·Engineering
Engineering — Common Issues and Reporting Bugs

Common Issues and Reporting Bugs

There are right ways of using notifications, and ways of using them better. Learn what makes a good notification. We won't just show you what to do. We'll show you how to do it.

Wweb.dev·Engineering
Engineering — The Web Push Protocol

The Web Push Protocol

A step-by-step interactive tutorial that shows you how to build a server that manages push notification subscriptions and sends web push protocol requests to a push service.

Wweb.dev·Engineering
Engineering — PWA with offline streaming

PWA with offline streaming

Building a PWA with offline streaming has its challenges. In this article you will learn about the APIs and techniques that provide users with a high-quality offline media experience.

Wweb.dev·Engineering
Engineering — PWAs in app stores

PWAs in app stores

Progressive Web Apps can be submitted to app stores like the Android Play Store or the Microsoft Store and more.

Wweb.dev·Engineering
Engineering — PWAs on Oculus Quest 2

PWAs on Oculus Quest 2

The Oculus Quest 2 is a virtual reality (VR) headset created by Oculus, a division of Meta. Developers can now build and distribute 2D and 3D Progressive Web Apps (PWA) that take advantage of Oculus Quest 2's multitasking feature. This article describes the experience and how to build, sideload, and test your PWA on the Oculus Quest 2.

Wweb.dev·Engineering
Performance — Measure performance with the RAIL model

Measure performance with the RAIL model

RAIL model enables designers and developers to reliably target the performance optimization work that has the highest impact on user experience. Learn what goals and guidelines the RAIL model sets out and which tools you can use to achieve them.

Wweb.dev·Performance
Design & UX — Ready Player Web

Ready Player Web

The Web platform is very mature for game development nowadays. The key to building a modern web game is embracing the best practices of game design and monetization. This post provides provides guidance towards this goal.

Wweb.dev·Design & UX
Engineering — Reduce web font size

Reduce web font size

This post explains how to reduce the size of the WebFonts that you use on your site, so that good typography doesn't mean a slow site.

Wweb.dev·Engineering
Performance — Replace animated GIFs with video for faster page loads

Replace animated GIFs with video for faster page loads

Have you ever seen an animated GIF on a service like Imgur or Gfycat, inspected it in your dev tools, only to find out that GIF was really a video? There's a good reason for that. Animated GIFs can be downright huge! By converting large GIFs to videos, you can save big on users' bandwidth.

Wweb.dev·Performance
Engineering — Request a review

Request a review

You must request a review from Google to have your page or site unflagged as dangerous or possibly deceptive to users.

Wweb.dev·Engineering
Design & UX — Responsive images

Responsive images

A picture is worth 1000 words, and images play an integral part of every page. But they also often account for most of the downloaded bytes. With responsive web design not only can our layouts change based on device characteristics, but images as well.

Wweb.dev·Design & UX
Frontend — Same-origin policy

Same-origin policy

A browser can load and display resources from multiple sites. If there is no restriction on interactions between those resources, and if a script is compromised by an attacker, the script could expose everything on a user's browser.

Wweb.dev·Frontend
Engineering — SameSite cookie recipes

SameSite cookie recipes

Sites can now explicitly mark their cookies for cross-site usage. Learn how to mark up your cookies to ensure that your first-party and third-party cookies continue to work after this change is implemented.

Wweb.dev·Engineering
Security — SameSite cookies explained

SameSite cookies explained

Learn to mark your cookies for first-party and third-party usage with the SameSite attribute. You can enhance your site's security by using SameSite's Lax and Strict values to improve protection against CSRF attacks. Specifying the new None attribute lets you explicitly mark your cookies for cross-site usage.

Wweb.dev·Security
Networking — Schemeful Same-Site

Schemeful Same-Site

The definition of "same-site" is evolving to include the URL scheme, so links between HTTP and HTTPS versions of a site now count as cross-site requests. Upgrade to HTTPS by default to avoid issues where possible or read on for details of what SameSite attribute values are needed.

Wweb.dev·Networking