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:
@@ -36,6 +36,7 @@ export default async function StartPage() {
|
||||
focalPoint={header.hero_image.focalPoint}
|
||||
sizes="100vw"
|
||||
fill
|
||||
priority
|
||||
/>
|
||||
) : null}
|
||||
</header>
|
||||
|
||||
@@ -105,6 +105,7 @@ export function MainMenu({
|
||||
height={22}
|
||||
src={logo.url}
|
||||
width={logo.dimension.width}
|
||||
priority
|
||||
/>
|
||||
</a>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ export default async function Hero({ alt, src, focalPoint }: HeroProps) {
|
||||
width={1196}
|
||||
src={src}
|
||||
focalPoint={focalPoint}
|
||||
priority
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user