Website engineering
Articles in this topic
What happens when you type a URL in the browser
What happens when you type a URL in the browser: DNS finds an entry, then TLS, a CDN or reverse proxy, and the app. curl timings locate the slow hop.
Website engineeringHow to troubleshoot a slow website
How to troubleshoot a slow website by splitting DNS, TLS, TTFB, download, and LCP with curl, Chrome Network, CDN headers, and origin metrics.
Website engineeringDocker volume permissions
Docker volume permissions follow the runtime UID/GID. Separate named volumes, read-only config, and Compose secrets, then prove recreate and restore.
Website engineeringTroubleshoot 502 and 504
How to troubleshoot 502 and 504 by locating the gateway hop, then testing Docker DNS, ports, logs, and upstream timeout from that proxy.
Website engineeringAutomatic HTTPS certificate renewal
Automatic HTTPS certificate renewal with Caddy and ACME: persist storage, pick the challenge, and diagnose DNS, ports, and CA limits.
Website engineeringWebsite domain migration
Migrate a website to a new domain with one-to-one 301 or 308 hops, new-host canonicals, and Search Console Change of Address.
Website engineeringCache-Control for static assets
Set Cache-Control from whether the URL changes with the file. Fingerprints get a one-year immutable cache; HTML uses no-cache and ETag; CDN TTL stays separate.
Website engineeringHow to expose Docker ports
How to expose Docker ports without publishing every service: listen inside the container, bind 127.0.0.1 on the host, and verify UFW cannot hide a published port.
Website engineeringDNS record types
DNS record types A, AAAA, CNAME, TXT, and CAA store addresses, aliases, proofs, and issuance limits. Apex CNAME, conflicts, TTL, and dig still apply.
Website engineering