Merged in fix/image-caching (pull request #1586)

fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons

* fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons

* More performance improvements

* Priority on hero image on startpage


Approved-by: Anton Gunnarsson
This commit is contained in:
Linus Flood
2025-03-21 07:58:44 +00:00
parent 3c1eee88b1
commit 91a9f68be0
10 changed files with 6 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ export default async function StartPage() {
focalPoint={header.hero_image.focalPoint}
sizes="100vw"
fill
priority
/>
) : null}
</header>

View File

@@ -105,6 +105,7 @@ export function MainMenu({
height={22}
src={logo.url}
width={logo.dimension.width}
priority
/>
</a>

View File

@@ -13,6 +13,7 @@ export default async function Hero({ alt, src, focalPoint }: HeroProps) {
width={1196}
src={src}
focalPoint={focalPoint}
priority
/>
)
}