Powered by
Early Hints

Early Hints

FrankenPHP natively supports the 103 Early Hints status code. Using Early Hints can improve the load time of your web pages by 30%.


header('Link: </style.css>; rel=preload; as=style');

// your slow algorithms and SQL queries 🤪

echo <<<'HTML'
<!DOCTYPE html>
<title>Hello FrankenPHP</title>
<link rel="stylesheet" href="style.css">

Early Hints are supported both by the normal and the worker modes.

Edit this page