TryHook learning library

Internet & Web

Clear explanations of the systems behind everyday browsing, publishing and online services. Learn how websites, browsers, domains, protocols and search engines work together.

20 guides
Guide

How Does the Internet Work?

The internet is a network of interconnected networks that exchange data using agreed protocols. Your device reaches a service through local networking, an internet provider and multiple routed networks.

Read guide →
Guide

HTTP vs HTTPS

HTTP is the application protocol used to request and transfer web resources. HTTPS is HTTP carried inside a secure TLS connection, protecting data in transit and authenticating the server certificate.

Read guide →
Guide

What Is a URL?

A URL identifies a resource and can specify the scheme, host, port, path, query string and fragment. Understanding these parts helps with navigation, debugging and SEO.

Read guide →
Guide

Domain Name vs Web Hosting

A domain name is a human-readable internet name; web hosting is the service or infrastructure that stores and serves website files or application responses.

Read guide →
Guide

How DNS Resolution Works

DNS resolution is the process of finding DNS records for a name by asking a resolver and, when necessary, authoritative DNS servers.

Read guide →
Guide

What Is a CDN?

A content delivery network distributes copies of content across geographically or topologically distributed edge locations so users can fetch resources from a nearby point.

Read guide →
Guide

What Is Browser Cache?

Browser cache stores copies of resources such as images, stylesheets and scripts so a page can load faster on later visits and use less network data.

Read guide →
Guide

Cookies vs Local Storage

Cookies and local storage both keep information in a browser, but they have different security, size, lifetime and request behaviors.

Read guide →
Guide

What Is a VPN?

A Virtual Private Network creates an encrypted tunnel between a device or network and a VPN endpoint, protecting traffic across an untrusted path and connecting private networks.

Read guide →
Guide

What Is a Proxy Server?

A proxy server acts as an intermediary between a client and another service. It can forward requests, apply access rules, cache content or hide the client address from the destination.

Read guide →
Guide

TCP vs UDP

TCP provides a reliable, ordered byte stream, while UDP sends datagrams without built-in delivery, ordering or retransmission guarantees. Applications choose based on their needs.

Read guide →
Guide

What Is a TLS Certificate?

A TLS certificate binds a public key to a domain identity and helps a browser authenticate the server during a secure connection.

Read guide →
Guide

What Is a REST API?

A REST-style API exposes resources over HTTP using standard methods and representations. It gives software clients a predictable way to read or change server-managed data.

Read guide →
Guide

What Is a Webhook?

A webhook is an event-driven HTTP callback: one service sends a request to another service when a particular event occurs.

Read guide →
Guide

How Does a Browser Render a Web Page?

A browser turns HTML, CSS and JavaScript into the pixels and interactions users see. Rendering involves parsing, style calculation, layout, painting and compositing.

Read guide →
Guide

How Search Engines Crawl and Index Pages

Crawling is the discovery and fetching of URLs; indexing is the process of analyzing content and deciding whether it belongs in a search engine index. Ranking happens later for a particular query.

Read guide →
Guide

What Is robots.txt?

robots.txt is a file that gives compliant web crawlers instructions about which paths they may request. It is a crawl-management mechanism, not a reliable way to keep private information secret.

Read guide →
Guide

What Is an XML Sitemap?

An XML sitemap lists canonical URLs that a website wants search engines to discover. It can include metadata such as the last meaningful modification date.

Read guide →
Guide

What Is a Canonical URL?

A canonical URL is the preferred URL for a page when duplicate or very similar versions exist. It helps consolidate signals, but search engines treat canonical declarations as hints.

Read guide →
Guide

301 vs 302 Redirects

A 301 redirect indicates a resource has moved permanently; a 302 indicates a temporary move. The correct status communicates whether the change should be treated as lasting.

Read guide →