Better PHP Sites with the Caddy Web Server
summary
API Platform replaces Nginx with Caddy and cuts containers from 8 to 4 while gaining memory safety and automatic HTTPS via the Caddyfile and integrated php_fastcgi directive that proxies FastCGI directly to PHP. Real users report ~100 ms latency drops after switching. Caddy provisions and renews certificates automatically, supports clustered storage backends for keys, and issues certificates on the fly with On-Demand TLS, scaling to tens of thousands of hosted domains.
AI-written summary · about
chapters (28)
- 0:00Intro
- 1:55What is the Web Server
- 5:28What the Web Server does
- 7:55Introducing the Caddy Web Server
- 8:15What is Caddy
- 9:32Automatic HTTPS
- 10:49Memory Safety
- 11:33Deployment
- 12:23Plugin Integration
- 13:18Configuration API
- 14:47Configuration Adapters
- 15:46Caddy File
- 16:42PHP Fastcgi
- 18:03PHP Fastcgi Configuration
- 19:59Performance
- 20:33Config File
- 21:45Automatic HTTPS Service
- 22:23Automatic Certificate Authority
- 23:11ACME Challenge
- 24:49OnDemand TLS
- 25:16Domain Name Management
- 26:34Prevent Abuse
- 27:14API Platform
- 27:39API Platform v26
- 28:09API Platform Caddy File
- 29:08Documentation
- 29:49Sponsor Open Source
- 30:22Questions
related talks
48mGive your PHP apps superpowers with FrankenPHP
42mOpening Keynote
41mGoodbye LAMP Stack?
36mApache, nginx, Docker and the Swear Words We Love
58mMassively Scaled High Performance Web Services with PHP
01h 02mSpeeding up the Web with PHP 7
01h 05mContainer-native without k8s: PHP in ECS on AWS
18mMy Take on PHP
