Blog

Notes on data structures & algorithms, system design, and things I learn along the way.

Learning DSA? Follow the structured path — ordered articles from recursion to dynamic programming.→
October 8, 2026HTTP/1.1, HTTP/2 and HTTP/3: What Changed and Why3 min read

The meaning of a web request hasn't changed in decades — the way it travels has. How HTTP/2 fixed HTTP/1.1's one-request-at-a-time problem, why it hit a new wall in TCP, and how HTTP/3 over QUIC gets around it.

#Web
October 8, 2026XSS and Content Security Policy: Stopping Injected JavaScript3 min read

Cross-site scripting gets your own site to run an attacker's JavaScript in your users' browsers. How it happens, why escaping output is the real fix, the places frameworks can't protect you, and how a Content Security Policy limits the damage when something slips through.

#Web
October 3, 2026HTTP Caching: Cache-Control, ETags, and the Fastest Request3 min read

The fastest request is the one the browser never sends. How Cache-Control, max-age, ETags and 304 responses decide when a cached copy can be reused, and the content-hash pattern that lets you cache forever without ever serving stale files.

#Web
October 3, 2026What Is an API? A Beginner's Guide to REST and JSON3 min read

An API is a menu of requests one program agrees to answer for another. What that means on the web, how REST maps resources to URLs and actions to HTTP methods, what JSON looks like, and how to call an API from JavaScript.

#Web
October 2, 2026Browser State: Cookies, Sessions and Storage7 min read

HTTP forgets you after every request, yet you stay logged in for weeks and your drafts survive a reload. How cookies and sessions work, what HttpOnly, Secure and SameSite protect against, how sessions compare with JWTs — and when to use localStorage, sessionStorage, IndexedDB or the Cache API instead.

#Web
October 2, 2026CORS Explained: Why the Browser Blocked Your Request3 min read

“Blocked by CORS policy” is the most common error in front-end development, and the most misunderstood. What the same-origin policy protects, what a preflight is, and why the fix always lives on the server you're calling.

#Web
October 2, 2026HTTP Requests and Responses: The Language of the Web3 min read

Every page load, image, form and API call is the same exchange: a request with a method, path and headers, and a response with a status code, headers and a body. A plain-language tour of what's inside each one.

#Web
October 1, 2026DNS: How a Name Becomes an Address3 min read

No single server knows every domain. How resolvers walk from the root to the .com servers to a domain's own nameservers, what A, CNAME and MX records are, and why TTLs decide how fast a DNS change takes effect.

#Web
October 1, 2026HTTPS and the TLS Handshake, Explained Simply3 min read

Two strangers on an open network agree on a secret key that eavesdroppers can't learn, and one proves its identity to the other. What the TLS handshake does, what certificates prove, and what HTTPS does and doesn't hide.

#Web
October 1, 2026What Happens When You Type a URL and Press Enter10 min read

The classic question, answered step by step: URL parsing, DNS, TCP, TLS, HTTP, and rendering. A map of the whole trip, with links to a deeper post for each stop.

#Web

20 posts tagged Web · page 2 of 2