Overview
Dive into a comprehensive 50-minute crash course on Varnish, the powerful HTTP accelerator and reverse proxy web server. Learn how Varnish works, set up a Varnish Docker container, and explore its pros and cons. Cover topics including classic HTTP architecture, HTTP and HTTPS setups, cache invalidation, load balancing, backend connection pooling, and Varnish modules. Gain hands-on experience with Docker commands and VCL configuration. Discover Varnish's capabilities in caching, prefetching documents, DNS resolution, script optimization, and edge side includes. Understand its limitations with HTTPS, POST requests, and HTTP/2 backends. Perfect for developers and system administrators looking to optimize web performance.
Syllabus
Intro
Classic HTTP Architecture
How Varnish Works
Demo HTTP
Demo HTTPS
Varnish Pros
Varnish Cons
docker run --name varnish -p 80 varnish
Connection Pooling https://www.youtube.com/watch?v=GTeCtIoV2Tw
Layer 4 vs Layer 7 Load balancing https://www.youtube.com/watch?v=aKMLgFVxZYk
GET vs POST https://www.youtube.com/watch?v=K8HJ6DN23zI
Postgres NodeJS Chrome https://www.youtube.com/watch?v=0JNq46eFuOM
Redis https://www.youtube.com/watch?v=sVCZo5B8ghE
TLS Termination https://www.youtube.com/watch?v=H0bkLsUe3no
Taught by
Hussein Nasser