discourse/app
Alan Guo Xiang Tan e2da72b76c
PERF: Remove unnecessary <link rel="preload"> (#26219)
Why this change?

According to https://web.dev/articles/preload-critical-assets,

> By preloading a certain resource, you are telling the browser that you would like to fetch it sooner than the browser would otherwise discover it because you are certain that it is important for the current page.

The preload resource hint is meant to tell the browser to fetch
resources that it would not discover upfront or early. However, we are
not using it the right way because we are literally adding the resource
hint right before a `<script>` tag which means the browser would have
discovered the resource even without the resource hint.

What does this change do?

This commit removes the preload resource hint which are added right
before script tags since the optimization here is highly questionable at the expense of making 
our initial DOM larger.
2024-03-18 20:07:29 +08:00
..
assets UX: do not close post text selection on scroll (#26217) 2024-03-18 09:03:13 +01:00
controllers DEV: Fix syntax for Link entity header for experimental_preconnect_link_header (#26218) 2024-03-18 19:49:16 +08:00
helpers PERF: Remove unnecessary <link rel="preload"> (#26219) 2024-03-18 20:07:29 +08:00
jobs DEV: Rename problem check jobs to avoid namespace clashes (#26073) 2024-03-07 12:26:58 +08:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models DEV: Allow user api key scope for notifications#totals (#26205) 2024-03-15 16:06:32 -04:00
serializers DEV: Dedicated route for current user notification counts (#26106) 2024-03-15 12:08:37 -04:00
services FIX: Amend broken Mailgun API key check (#26206) 2024-03-18 09:10:30 +10:00
views DEV: update theme-qunit to work with strict-dynamic CSP (#26053) 2024-03-06 13:01:23 +00:00