Posts tagged "web"

12 posts tagged with web.

Content Security Policy (CSP): What It Stops, What It Doesn't
cspsecurityhttp-headersxssweb
Content Security Policy (CSP): What It Stops, What It Doesn't

CSP is the most powerful XSS defense most sites either don't use or deploy wrong. Here's what it actually stops, what it doesn't, and how to ship a working policy without breaking everything.

May 9, 2026 ·11 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 Specificity: The Complete Guide to the Cascade and Inheritance
cssspecificityfrontendweb
CSS Specificity: The Complete Guide to the Cascade and Inheritance

CSS specificity is the invisible rule that decides which style wins when two selectors target the same element. Understanding it lets you debug style conflicts without resorting to !important.

April 25, 2026 ·9 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
SVG Explained: Scalable Vector Graphics for Web Developers
svggraphicswebanimation
SVG Explained: Scalable Vector Graphics for Web Developers

SVG is the only image format that is also code — you can write it by hand, animate it with CSS, and scale it to any size without quality loss. Here is what every web developer should know about it.

April 9, 2026 ·10 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
How DNS Works: A Step-by-Step Journey from Domain to IP
dnsnetworkingwebinfrastructure
How DNS Works: A Step-by-Step Journey from Domain to IP

You type a domain and a page loads — but between those two events is a surprisingly elegant distributed lookup system. Here is exactly what happens at each step.

February 26, 2026 ·9 min read
Understanding HTTP Headers: A Developer's Reference
httpheaderswebapi
Understanding HTTP Headers: A Developer's Reference

HTTP headers carry critical information about authentication, caching, content type, and security — yet many developers only interact with them when something goes wrong. This reference covers the most important ones.

February 22, 2026 ·10 min read
Understanding CORS: Why It Exists and How to Actually Fix It
corssecurityhttpweb
Understanding CORS: Why It Exists and How to Actually Fix It

CORS errors block your frontend from talking to your own API — and the fix is not to disable it. Understanding why browsers enforce the same-origin policy makes the solution obvious.

February 2, 2026 ·9 min read
URL Encoding Explained: Percent-Encoding and Why It Matters
urlencodingwebhttp
URL Encoding Explained: Percent-Encoding and Why It Matters

A space in a URL becomes %20, a plus sign becomes %2B — but not always, and the rules differ depending on where in a URL you are. This post explains the why and the how of percent-encoding.

January 25, 2026 ·6 min read
Base64 Encoding: What It Is, How It Works, and When to Use It
base64encodingbinaryweb
Base64 Encoding: What It Is, How It Works, and When to Use It

Base64 shows up everywhere from JWTs to CSS data URIs to HTTP Basic Auth — but it is often misunderstood. Here is a clear explanation of what it actually does and when it makes sense to reach for it.

January 21, 2026 ·7 min read
HTTP Status Codes: The Complete Developer Reference
httpapiwebbackend
HTTP Status Codes: The Complete Developer Reference

Is that a 401 or a 403? A 404 or a 410? HTTP status codes have precise meanings that most developers only half-remember. Here is the definitive guide with practical guidance on when to use each.

January 13, 2026 ·9 min read