Google Chrome, Firefox, Caddy, and Apache now support a new HTTP status code: 103 Early Hints. Since version 6.3, Symfony also supports 103 responses, and FrankenPHP also supports it natively.
This new, rather unusual type of response has a single objective: to speed up the loading time of your websites and applications by allowing the browser to preload the resources it will need to render the page.
In this presentation, we’ll look at how 103 differs from other preloading techniques such as HTTP/2+ Server Push or
<link ref="preload"> tags, and how to take advantage of it from within our PHP applications.
Talk given at Afup’s ForumPHP 2023.