mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
ed2c3ebd71
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.