Come funziona Internet: ciclo richiesta/risposta in 7 fasi
- Richiesta client – L'utente inserisce l'URL nel browser.
- Ricerca DNS – Il browser risolve il dominio in IP tramite la gerarchia DNS.
- Connessione TCP – Tre-way handshake (SYN, SYN-ACK, ACK) con la porta server 80/443.
- Richiesta HTTP – Il browser invia GET/POST con intestazioni, cookie.
- Elaborazione server – Il server applicativo esegue la logica, interroga il DB, renderizza il template.
- Risposta HTTP – Il server restituisce stato, intestazioni, corpo (HTML, JSON, ecc.).
- Rendering – Il browser analizza l'HTML, recupera risorse (CSS, JS, immagini), esegue JS, dipinge la pagina.
Tutto in millisecondi. Supportato da TCP/IP, TLS (HTTPS), caching CDN e altro.