Posts tagged "performance"

13 posts tagged with performance.

How SQL Query Planners Decide What Your Query Does
sqldatabasesperformancedeveloper-tools
How SQL Query Planners Decide What Your Query Does

You write SQL declaratively, but the database engine decides how to execute it. We open up Postgres EXPLAIN to show how query planners actually choose strategies.

May 9, 2026 ·9 min read
How HTTP Caching Works: Cache-Control, ETags, and Browser Storage
httpcachingperformanceweb
How HTTP Caching Works: Cache-Control, ETags, and Browser Storage

HTTP caching is one of the most powerful and most misunderstood web performance tools. Getting Cache-Control right can eliminate most of your server's traffic for static assets.

May 5, 2026 ·10 min read
CSS Minification: What It Does and Why Every Byte Matters
cssminificationperformanceoptimization
CSS Minification: What It Does and Why Every Byte Matters

CSS minification strips out whitespace, comments, and unnecessary characters without changing any rules. On large stylesheets the savings are significant, and the tooling is trivial to set up.

May 4, 2026 ·7 min read
Web Fonts: Performance, Loading Strategies, and FOUT Explained
fontsperformancecssweb-vitals
Web Fonts: Performance, Loading Strategies, and FOUT Explained

Web fonts are one of the most common sources of layout shift and invisible text flash. The font-display property and a few preload hints can eliminate both problems.

May 3, 2026 ·9 min read
Understanding the Critical Rendering Path and How to Optimize It
performancebrowsersweb-vitalsfrontend
Understanding the Critical Rendering Path and How to Optimize It

The critical rendering path is the sequence of steps a browser must complete before showing the first pixel. Optimizing it is one of the highest-impact things you can do for perceived performance.

May 2, 2026 ·10 min read
How Browsers Render a Web Page: From HTML to Pixels
browsersperformancerenderingfrontend
How Browsers Render a Web Page: From HTML to Pixels

A browser takes HTML, CSS, and JavaScript and turns it into pixels. The steps between those two points — parsing, layout, painting, compositing — directly affect performance and user experience.

May 1, 2026 ·11 min read
Base64 Images in HTML and CSS: When They Help and When They Hurt
base64imagescssperformance
Base64 Images in HTML and CSS: When They Help and When They Hurt

Embedding images as Base64 data URIs eliminates an HTTP request but increases file size by 33% and breaks caching. Here is when the trade-off actually makes sense.

April 21, 2026 ·7 min read
How Image Resizing Algorithms Work: Nearest Neighbor, Bilinear, Lanczos
imagesalgorithmsgraphicsperformance
How Image Resizing Algorithms Work: Nearest Neighbor, Bilinear, Lanczos

When you resize an image, your software has to invent new pixel values. The algorithm it uses determines whether the result is crisp, blurry, or filled with jagged artifacts.

April 19, 2026 ·8 min read
CSS Sprites: What They Are, Why They Matter, and Modern Alternatives
cssperformanceimagesweb
CSS Sprites: What They Are, Why They Matter, and Modern Alternatives

CSS sprites were the standard performance technique for reducing icon HTTP requests in the HTTP/1.1 era. With HTTP/2 and SVG, the calculus has changed — but understanding sprites is still valuable.

April 13, 2026 ·7 min read
How Image Compression Works: The Science Behind Smaller Files
compressionimagesperformancealgorithms
How Image Compression Works: The Science Behind Smaller Files

When you drag a JPEG quality slider from 100 to 80, what actually changes in the file? Understanding the compression algorithm helps you make smarter trade-offs between file size and quality.

April 11, 2026 ·9 min read
How Data Compression Works: gzip, Brotli, and Zstd Explained
compressionperformancewebdata
How Data Compression Works: gzip, Brotli, and Zstd Explained

Your server already compresses responses with gzip or Brotli — but do you know what those algorithms actually do? Understanding compression helps you optimize assets and set correct headers.

April 3, 2026 ·9 min read
Understanding Database Indexes: How They Work and When to Use Them
databasessqlperformancebackend
Understanding Database Indexes: How They Work and When to Use Them

An index can turn a ten-second query into a millisecond query — or slow down your writes significantly if misused. Understanding the data structure behind indexes makes both outcomes predictable.

March 20, 2026 ·10 min read
API Rate Limiting: Strategies, Algorithms, and Best Practices
rate-limitingapibackendperformance
API Rate Limiting: Strategies, Algorithms, and Best Practices

Rate limiting is invisible when it works and infuriating when it is misconfigured. Understanding the underlying algorithms helps you implement limits that protect your API without frustrating legitimate users.

February 14, 2026 ·9 min read