Techreport blog

Engineering Insights & Guides

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

11,839 articles
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