What Is the Difference Between HTTP/1.1, HTTP/2 and HTTP/3?
Compare HTTP/1.1, HTTP/2 and HTTP/3: text versus binary framing, TCP versus QUIC, head-of-line blocking and how browsers pick a version.
51 posts about Web Development: questions with answers, tutorials and articles, newest first.
Compare HTTP/1.1, HTTP/2 and HTTP/3: text versus binary framing, TCP versus QUIC, head-of-line blocking and how browsers pick a version.
CORS lets a server decide which origins can read its responses. Understand the same-origin policy, preflight requests and how to fix common CORS errors.
Learn how Cache-Control controls freshness and how ETag validation returns 304 Not Modified, with ready-to-use header settings for assets, HTML and APIs.
Cookies give stateless HTTP a memory. See how Set-Cookie and Cookie headers work, what each attribute does and how browsers store and send cookies.
HTTPS is HTTP sent through a TLS-encrypted connection. Learn what it protects, how the handshake and certificates work, and how to migrate a site safely.
A practical tour of HTTP headers: content, authentication, caching, cookie and security headers, and how to read and set them with curl and fetch.
A practical guide to HTTP status codes: what 2xx, 3xx, 4xx and 5xx mean, the most common codes and how to check them while debugging.
A clear guide to the five common HTTP methods, what each one does, which are safe or idempotent and how to send them with fetch.
HTTP is the protocol browsers and servers use to exchange data. See how one request and response work, with real examples in curl and JavaScript.
Static sites serve pre-built files, dynamic sites generate pages per request. Learn how they differ in speed, cost, security and use cases.
A beginner guide to browser developer tools: open them, inspect HTML and CSS, run code in the Console and see every network request a page makes.
Follow the browser rendering pipeline from HTML parsing to DOM, CSSOM, layout, paint and compositing, and learn what blocks rendering.
A web server is software that answers browser requests with files or generated pages. Learn static vs dynamic content and run a local server.
From DNS lookup to TLS handshake, HTTP request and page rendering, see each step that runs after you press Enter on a URL, in order.
A URL is built from a scheme, host, port, path, query and fragment. See each part labelled in a real example and parse one with JavaScript.
DNS translates a domain name into the IP address of a server. Follow a lookup from resolver to root, TLD and authoritative server, and learn the record types.
Browser DevTools let you inspect element HTML, edit the live page, check CSS and find broken files. Learn the core panels and how they differ from View Source.
An IP address is the number that lets data find a device on a network. Learn how IPv4, IPv6, ports and static addresses identify a web server.
HTTPS is HTTP protected by TLS encryption, identity checks and integrity. Learn the differences, the handshake and how to enable it.
In the client-server model, a client sends requests and a server answers them. See the request and response cycle with a small Node.js example.