diff --git a/index.html b/index.html index 72cf4bdfa..8a36cb0b8 100644 --- a/index.html +++ b/index.html @@ -111,21 +111,13 @@ at KeyCDN.
+<link rel="preload" href="https://cdn.shoelace.style/1.0.0-beta5/shoelace.css" as="style" crossorigin> <link rel="stylesheet" href="https://cdn.shoelace.style/1.0.0-beta5/shoelace.css">
- If you decide to use the CDN link, consider speeding up performance by adding a
- preload resource hint to give the browser a head start on loading the CSS. You
- can do this by adding this Link HTTP response header to your web server
- configuration for requests to pages:
-
-Link: <https://cdn.shoelace.style/1.0.0-beta5/shoelace.css>; rel=preload; as=style; crossorigin
-
-
- For more information on resource hints and how they work,
- check out the W3C specification.
- You can also use preload even if you serve Shoelace from your own server.
+ Note that the first <link> is optional but can improve performance in
+ supportive browsers.
+ Learn more about preloading.