mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 23:33:40 +08: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. |
||
---|---|---|
.. | ||
_head.html.erb | ||
application.html.erb | ||
crawler.html.erb | ||
email_template.html.erb | ||
embed.html.erb | ||
ember_cli.html.erb | ||
finish_installation.html.erb | ||
no_ember.html.erb | ||
publish.html.erb |