Skip to content

Commit

Permalink
🚀 perf(app): preload the LCP image with a high fetchpriority
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdesque committed Jan 6, 2024
1 parent 5ded0d0 commit ad5c315
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<link rel="icon" type="image/png" sizes="196x196" href="/favicon-196.png">
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="preload" fetchpriority="high" as="image" href="/collage.webp" type="image/webp">
</head>

<body>
Expand Down
1 change: 0 additions & 1 deletion src/components/Start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const Collage = () => {
alt="Collage GLAMorous Europe"
className="w-160"
decoding="async"
fetchpriority="high"
/>
);
};
Expand Down

0 comments on commit ad5c315

Please sign in to comment.