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 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, 2026Cookies and Sessions: How Websites Remember You4 min read

HTTP forgets you after every request, yet you stay logged in for weeks. How Set-Cookie and session IDs work, what HttpOnly, Secure and SameSite protect against, and how sessions compare with tokens like JWTs.

#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 Enter3 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

8 posts tagged Web · page 1 of 1