API Platform's HTTP cache
summary
API Platform now uses FrankenPHP with the Caddy reverse proxy instead of Varnish; the talk explains how Caddy’s HTTP cache module can be enabled and configured to cache API Platform responses, how it leverages API Platform features to greatly reduce request latency, and how to handle cache invalidation. It also covers compatibility with current and upcoming RFCs and how using Caddy as a single binary can boost an existing codebase.
AI-written summary · about
chapters (15)
- 0:00HTTP cache intro
- 1:31What is HTTP cache
- 4:39API Platform pre-3.1
- 7:10HTTP cache in 3.1+
- 10:20Key HTTP cache RFCs
- 13:12Cache-Control directives
- 15:37Cache-Status header
- 17:03Targeted cache control
- 18:28Cache invalidation API
- 20:57Edge Side Includes
- 24:19Cache storage options
- 27:09Request coalescing
- 28:12Single binary setup
- 31:07Demo setup
- 36:25Demo results
