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
Performance — Choose the correct level of compression

Choose the correct level of compression

Many images can be heavily compressed, giving excellent performance improvements. This post helps you to choose the right level of compression to maintain the look of images while getting the best performance.

Wweb.dev·Performance
Engineering — Constructable Stylesheets

Constructable Stylesheets

Constructable Stylesheets provide a seamless way to create and distribute styles to documents or shadow roots without worrying about FOUC.

Wweb.dev·Engineering
Systems — Containers and codecs

Containers and codecs

Media files are a bit like onions. The file that you see in your operating system shell is only a container with multiple data streams and different allowable types of encodings.

Wweb.dev·Systems
Networking — Content delivery networks (CDNs)

Content delivery networks (CDNs)

This article provides a comprehensive overview of content delivery networks (CDNs). In addition, it explains how to choose, configure, and optimize a CDN setup.

Wweb.dev·Networking
Frontend — Content reordering

Content reordering

When creating a layout using CSS, ensure you give the same experience for keyboard users as other users.

Wweb.dev·Frontend
Performance — Keeping third-party scripts under control

Keeping third-party scripts under control

Third-party scripts, or "tags" can be a source of performance problems on your site, and therefore a target for optimization. However, before you start optimizing the tags you have added, make sure that you are not optimizing tags you don't even need. This article shows you how to assess requests for new tags, and manage and review existing ones.

Wweb.dev·Performance
Engineering — Defragment cross-domain logins

Defragment cross-domain logins

Learn how to use architectural standards and solutions (such as metadata, cross-origin iframes, identity federation, and subdomain consolidation) to resolve cross-domain identity fragmentation and deliver a seamless user journey.

Wweb.dev·Engineering
Security — Cross-Origin Resource Sharing (CORS)

Cross-Origin Resource Sharing (CORS)

The browser's same-origin policy blocks reading a resource from a different origin for security purposes. Enabling CORS lets the server tell the browser it can use an additional origin.

Wweb.dev·Security
Security — Content security policy

Content security policy

Content Security Policy can significantly reduce the risk and impact of cross-site scripting attacks in modern browsers.

Wweb.dev·Security
Frontend — CSS animated grid layouts

CSS animated grid layouts

In CSS Grid, the `grid-template-columns` and `grid-template-rows` properties allow you to define line names and track sizing of grid columns and rows, respectively. Supporting interpolation for these properties allows grid layouts to smoothly transition between states, instead of snapping at the halfway point of an animation or transition.

Wweb.dev·Frontend