
Let's build a CDN - Part 1
This started as a conversation between James A Rosen & Gerhard in August 2023. Several months later, it evolved into a few epic pairing sessions captured in these GitHub threads:
thechangelog#480 (reply in thread)
thechangelog#486
The last pairing session eventually lead to 🎧 Kaizen! Should we build a CDN? This is the follow-up to that. How far did we get in 1 hour?
LINKS
The 5-hour CDN
varnish - Docker Official Image
Introduction to Varnish
Magento2 Varnish config
Magento Internals: Cache Purging and Cache Tags
Varnish modules
EPISODE CHAPTERS
(00:00) - Intro
(02:08) - The 5-hour CDN
(03:44) - Varnish container image
(05:00) - Varnish container image command
(06:31) - Local-friendly Varnish container image
(06:44) - Varnish command-line options
(08:30) - Varnish parameters
(09:45) - Experimenting with Varnish locally
(12:36) - Varnish purging
(15:22) - Backend fetch failed
(16:20) - Varnish debug mode & logs
(17:29) - Why can't we query the backend?
(21:08) - Why is the backend sick?
(22:49) - That's the problem!
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

