Let's build a CDN - Part 1
Download MP3This 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:
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
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!