mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 13:26:48 +08:00

We have two JS assets which are included in the `<body>` of responses. We were including the `<link rel='preload'` hint alongside the script tag in the body. Instead, we can move the preload hint to the `<head>` so that the browser discovers it earlier, and can start preloading the assets while the body is loading.