Audit and consultancy · Prijsvrij

CLS from 0.4 to 0.06 in a holiday booking flow

The layout shifts were in the booking flow, and most of them happened after the first page load.

1.8sLCP, was 2.6s
0.06CLS, was 0.4
160msINP, was 215ms
ClientPrijsvrij, Prijsvrij.be and D-reizen, holiday bookings
PlatformA single page application
ServiceAudit in March 2026, then consultancy every quarter
The client

A single page application with a booking flow that shifted

Prijsvrij is a Dutch travel site: search, compare and book a holiday. The whole site is a single page application, and the same team runs Prijsvrij.be and D-reizen.

I spent two 4-hour days on site. The first day I audited the site. On day two I went through the results with the team and explained, step by step, how to fix the most pressing problems first.

Prijsvrij homepage
What we found, what we did

The first screen, the booking flow and the clicks

Most of the layout shifts came on soft navigations: the app swaps content without loading a new page. A Lighthouse run of the homepage never sees them. Real visitors clicking through a booking do, and CrUX counts those shifts on the URL they first opened.

What was wrong
What we did
LCP
The CSS was split in a way that held up the first screen, the preloads pointed at files the first screen didn't need, images loaded that the first screen didn't show, and the hero was only found once the JavaScript ran. Third-party tags and fonts loaded early too.
The hero got a preload and fetchpriority="high", and per page we decided what goes first. LCP went from 2.6 to 1.8 seconds.
CLS
While the app fetched the holiday data, mostly the flight, it showed a loading animation, and the real content pushed in when it arrived. Between steps, images, banners and notices did the same.
The loading state got the final size of the flight block, and images, banners and notices got fixed dimensions. CLS went from 0.4 to 0.06.
INP
A filter click recalculated and rendered all the results again, the date picker built months of prices inside the click, and choosing travellers or rooms recalculated the whole booking. Tracking ran inside the same clicks.
I showed the developers in their own code what each click ran, and how to update the screen first and run the rest afterwards. INP went from 215 to 160 ms.
Prijsvrij's booking flow: most layout shifts happened after the first load, where a Lighthouse run of the homepage doesn't look
After the audit

I delivered the audit at the end of March 2026, and I went through it with their developers in Den Bosch on 15 April and online a week later. CLS was the hard part, with more causes than usual in a setup like this. Their developers fixed it on all three sites, and in May desktop CLS went green on every one of them.

0.100.250.13Mar 2026Apr0.38MayJunJulAugSepOct0.06prijsvrij.nl, CLS on desktop, p75
0.100.12Mar 2026Apr0.20MayJunJulAugSepOct0.05prijsvrij.be, CLS on desktop, p75
0.100.11Mar 2026Apr0.14MayJunJulAugSepOct0.04d-reizen.nl, CLS on desktop, p75
The three sites in CrUX, March to October 2026. One bar per week, each the 28 days up to that date, p75. Green is good, orange needs improvement, red is poor.
Since then

One morning in June their front-end lead mailed me. He had spent the past weeks tinkering with prijsvrij.nl, working from the CoreDash data through its Claude Code connection, and the graphs were going the right way. Could D-reizen go in too? Within the hour D-reizen and Prijsvrij.be were both in CoreDash.

INP is next. When I looked at it at the end of June, I recognised the pattern: I have seen it many times, and a proven step-by-step plan fixes it, as long as every step is done exactly right. That takes care of the biggest part. Only then do the problems underneath show, and those are always smaller. So I suggested we work more hands on: small, surgical changes, less theory, more doing. In July we met at their office, lunch included, and we keep meeting every quarter.

Mobile LCP goes up in the holidays, when a lot of the traffic comes from people who are on holiday themselves. It stays well under 2.5 seconds and is already coming down again.

What we learned

A loading animation only moves the layout shift

The animation looked like it covered the wait. The shift came the moment it made way for the flight details.

Tracking in the click costs every click

A tag in the click handler runs before the screen can change. Moved after the update, the visitor sees the result first and the tag still runs.

A single page application keeps changing

Every release adds components and tags that the last check never saw. That is why I come back every quarter.

Arjen Karel

Layout shifts in a single page app that Lighthouse never sees?

Send me the URL of your booking or checkout flow and I'll click through it the way a visitor does, soft navigations included.

Prijsvrij: CLS From 0.4 to 0.06 in a Booking Flow Core Web Vitals Prijsvrij: CLS From 0.4 to 0.06 in a Booking Flow