Techreport blog

Engineering Insights & Guides

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

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