Serving a website seems pretty simple: Send some HTML, the browser figures out what resources to load next. Then we wait patiently for the page to be ready.
Critical extracts & inlines critical-path (above-the-fold) CSS from HTML