Beyond the P75
What Happens to the Other 25 Percent?
After a playful introduction, Tim Vereecke presents the Core Web Vitals results for Scalemates, his scale modeling site with a million pages. He asks what the 75th-percentile target leaves out and sets up techniques that improve the experience even when they barely move the reported scores.
The Architecture That Keeps Scalemates Fast
Vereecke reviews the loading practices he uses and shows how misleading measurements can hide the wait for real content. He explains why he consolidated requests onto his own domain, ran his own ad server, and kept Scalemates on PHP as a multi-page application.
Stopping Layout Shifts Before the Page Paints
Vereecke demonstrates how tiny shifts move the logo, search bar, and dropdown as content arrives. He reserves scrollbar space and trims the HTML head, then shows how a render-blocking link can hold the first paint until the streamed header is ready.
Counting Layout Shifts the Percentile Hides
Vereecke introduces CLS frequency to track how often a page shifts at all. Breaking the data down by page type and language exposes a 20 percent shift frequency on Bulgarian pages, and he shows how an older browser can still affect the results.
Fewer Image Variants and Faster Ad Fallbacks
Vereecke trades some image bytes for better CDN cache reuse and bounds the image sizes requested by high-density phones. When a small product photo would make a late-loading ad the LCP candidate, he encourages larger uploads or serves an immediately discoverable fallback banner.
Moving Dynamic Pages Closer to Readers
Vereecke describes how an Australian deployment reduced the wait for dynamic requests that would otherwise travel to Frankfurt. He weighs further expansion against hosting costs and colder caches, then describes the gains for crawling and search filters.
Removing Redirects and Caching HTML Through Login
Vereecke serves current content directly at old URLs and updates the address bar with the History API. He then uses a short-lived login cookie and a temporary query parameter to bypass cached anonymous HTML, applying the same URL cleanup afterward.
From Prefetch to Near-Instant Navigation
Vereecke explains how Speculation Rules let him prefetch on hover, upgrade to prerender on mouse-down, and start work ahead of selected search form submissions. He weighs the extra traffic against the gains and reports that prerendering and the back-forward cache together make almost 60 percent of visits instant.
From INP to Performance Targets Users Can Feel
Vereecke discusses INP and how soft-navigation measurement changes the picture for single-page applications. He proposes P90 as a practical target and adds site-specific expected and terrible ranges. He closes with a trade-off his readers welcomed, increasing image resolution at the cost of a modest LCP regression.
Q&A on Regional Replicas, Service Workers, and Cache Behavior
Vereecke explains which pages he generates regionally and why he kept search and the ad server centralized. He revisits a service worker trial, explains what happens when the back button restores a pre-login page, and discusses the Vary header and a proposed P99 mode for RUM tools.
The next speaker, Tim Vrege, is actually one of my colleagues. And he is also by far my most annoying colleague. Okay? Ed Akamai, our nickname for Tim is the clown because you can't really take anything that he says seriously.
And I've been trying to tell him this for a long time, Tim you are not good enough of a speaker to be at a conference like Perf now. And I even tried to make that clear to him three years ago. On the stage, right. I tried to give him a very clear message like, Tim, this is not for you.
But of course he didn't listen because he is here again this year doing another talk. So Tim, just just know that both being annoying and stubborn is not a good combination. Okay? So for Tim's talk, it was actually quite easy for me to find a pointing device because like it's the only thing that I could think of that reflects both both the expected contents of the talk as well as the general personality of the speaker.
So Tim, I would I would ask you to to come up and please try not to bore us to death this time. Where is where is Tim?
Robin Robin Robin Robin. I asked Chad GPT, I got some training videos of him sword fighting. So I asked Chad GPT, how can I defeat Robin? And the answer was basically simple, just use a superior weapon. So drop that please. Now, so Robin, who is, what do you really think about me as a colleague?
You're a little bit annoying?
Be honest.
I guess you're alright. Be honest. Okay. You're the best colleague ever and it's not even close. Okay. Okay?
That's better. And who is the better speaker?
Okay. Don't push it.
Hello, hello. Nice meeting all, nice being back here. So I'm Tim. I work at Akamai. I'm a colleague of Robin. And in my day job, I make our customers websites as fast as possible. Now next to my day job at Akamai, I also run the largest scale modeling website in the world.
With over 50,000 visitors a day and 1,000,000 pages, it's not like a small blog post, it's like a real website. Now why do I show this here on stage? Because this website is actually the topic of this talk. Because it's not only the largest scale modeling website in the world, it's also the fastest one. So with a 98% LCP in the good range.
97 for INP and even more than 99% for CLS. So this talk is all about a few advanced techniques I used to get there. Now the first question we should ask is, why do I even bother? Because if you look at the core vitals, in the end the goal is 75% good.
The question is, is that good enough? No. Thank you. The SEO folks basically say yes, the moment you hit 76%, yay party and done. Now what it basically means is if you really believe that performance has an impact on user experience, you're basically saying 25% of all users you accept that they have a non good experience.
It would be the same as saying one out of four wouldn't like my presentation at the end. Or if you go to a restaurant and one out of four times you're unhappy. Now what is good enough? Is it 76, 83, 90, 95, 98, or 99?
Good question. So by the end of what I will do today is I will share, the talk is called Beyond the P 75. So I will share some techniques which improve user experience but don't impact the Core Web Vitals at all. That's important. And I will share some techniques how to get beyond the P7P.
It worked. It worked. Thank you. So those are the things. Now the first part is the common best practice. This is an advanced talk so here I actually don't have any slides because the basic things matter. Of course, I early hint my critical resources. Of course, I preload my fonts. Of course, I use a CDN.
Yes, I enable fetch priority high. Loading lazy on images as well as on videos, of course I do all these things. And all these things matter. Now that's not the goal of this talk. We are basically looking at first some key design choices I made. And the first thing is no cheating because if you...
There are ways to cheat and to get better scores but in the end, you're just fooling yourself, your end users will not notice and you just get some good rank. So no SVG hacks, no empty one zero three early hints to get a fake time to first byte or we are verifying your browser that's like a big element on the screen.
It's the LCP element, gets there quickly and then the user needs to wait two and a half seconds for the actual LCP to arrive. Now this is still done today by some modern frameworks. Don't do that. Now in 2011 when I started, I was still young. I was still naive and my website looked like that.
My website, I make money based on advertising so I had Google AdSense back then, Google Analytics and they all request those things. I had jQuery, a third party host that had all these things. And of course that's not good for performance. Today, this is how the request map looks and by the way the URL at the bottom, that's a tool created by Simon Hearn where you can copy paste a web page test and it will show you such a graph.
So I moved everything to the main domain. I set up my own ad server using open source and everything is except for amp pulse, the RUM, everything is hosted on the same domain. That's first benefit. Twenty eleven, I was young, I was naive and I used PHP. I even used jQuery on the website and back then a website was just called a website and I had a multi page app.
A lot has changed. Then we said that it was 2010, this is 2011 but a lot has changed. React, Preact, Next. Js, cooler frameworks, even cooler frameworks, cooler frameworks are getting even cooler. So after a long decision, I basically decided I just stick to PHP and MPA because in my view that's like the easiest way to get great performance.
Actually not that long ago, I had a excellent party. Why? Because my LCP at the p seventy five was one hundred ninety eight eighty nine milliseconds. It was on October 1. This is a perfect example that speed doesn't necessarily mean good user experience. And by the way today there is another PHP thing but that's all fine. I'm still here.
So those are some design choices I made. So now let's look at some fresh techniques. And fresh techniques, you could call them cool techniques, crazy techniques. Maybe not all of them are applicable to your website but maybe some ideas might be interesting for you. I know none of you have a scale modeling website but the techniques I apply here are in theory applicable to all of you.
Cumulative Layout Shift. So there are three sections, obviously, Cumulative Layout Shift, LCP and I and P. And Cumulative Layout Shift is really my favorite Core Web Vital, really by far. And the reason is simple because you don't need to do, you don't need, it doesn't depend on your end users.
Users can have a slow device, can be far away interior, so your less is always the same and you as a developer have full control on the CLS. What I don't like about CLS is that zero dot 100 value. Have you ever seen a website where with zero dot one layout shift? That's moving like crazy.
So my idea about a good rating for CLS is zero. No shift at all. Not a tiny shift, not a tiny tiny shift, just zero zero zero. Everything above that is in my view not good enough. And just to show you, this is a zero dot zero zero two layout shift and many of your websites might have it and it's annoying as hell.
Fixing this will not improve your Core Web Vitals because zero dot zero two, who cares? It will impact user experience. My website is optimized. I inline my CSS. I do crazier things to make sure that that first FCP is fast. You see the loading. What happens a little bit later?
Look at the logo, the content arrives. Who spotted the shift? Let's click on the next page. FCP is lightning fast, content arrives. We saw the shift. We saw the shift and like that like that. This is annoying. This is a stupid layout shift, only zero zero dot two. One more.
And the fix is basically one rule of CSS. You just tell the browser, dear browser, I know my pages are typically very long. It's not like a super designer website where everything fits on a single page. Whenever you render the page, include the sidebar already so that when the content then arrives, you don't have that annoying layout shift.
Better for user experience? Yes. Will it improve your core web vitals? A tiny bit or a tiny tiny bit. Who agrees with this fix? Excellent. Thank you. Next is HTML streaming. HTML streaming is not new. I've been doing this for years rather than waiting for all the HTML to be generated in the backend and then shipping everything.
The moment I can, I ship HTML? Now from a CLS perspective, that results in some issues. Let me show you. Again, my FCP is quite fast and then a little bit later, I call that now FCP plus, that's not a real timer, it's just a little bit later, you see this. Two layout shifts happened here.
Tiny ones yet I think annoying. The first one is because that search bar in the top is aligned to the right. The moment more content arrives, you basically see that shift. But there is a second one. You see that drop down with all the different options.
When it initially renders, it says hey I only knew this space. A little bit later additional options arrive which happen to be longer and you get that layout shift. Just to show you here, at bottom see at the bottom you see here that inst, that's where the streaming stopped.
A little bit, wow, how did I fix that? I'm a big fan of extreme minification. I will not even explain what I do but every character I can get rid of, I like to get rid of. So rather than writing class bgl, I remove the two quotes. Just by doing that, I got two more characters in that initial option. So I continued, continued, continued but I saw improvements but that was not really there and if it was then the German version of the website, it was then different words and then it was again. So I looked at the head section.
There are plenty of bites and Harry, when he hears head, he says, hey, that's my cup of tea. Harry did actually a big talk, a great talk a few years ago, get your head straight. Really advised to look at it. There are plenty of techniques to that but there are a few more things I want to do.
It's on SEO, SEO, SEO. We ship this to every single user looking at your websites millions of times just in case Google bot or another bot needs to read that. So rather than shipping this on every page view, in this case almost three kilobytes, just use a sitemap where you can do the same and don't ship it.
It's one thing. Other thing is same useless bytes we ship for every user. OG title, OG image, Twitter card, Twitter description, Twitter site, all these things they add bloat to your head for no reason. Now they should be there in the certain circumstances but not always.
So what is the trick I did? My logged in users, I know they don't need that data and for my anonymous users, when the refer header is my own website, I basically know that were navigating my website. I just don't generate that stuff and I again get rid of some data. The problem is if you do that, you just delay the issue because now it happened at the top.
If you save bytes, it happens a little bit lower. You If save more bytes, it happens just a little bit lower and it was never really what I wanted. There is a cool new trick. It's called link rel expect blocking render and what it's basically doing, you add that in your head section. So you add some more bytes but I think that's fine and you point to an ID.
And when you add this ID and there you see my header, it basically says, dear browser, don't even try rendering the page before I have a minimum amount of content and that minimum amount of content is up to you to decide. Is it like the logo? Is it the menu bar? Is it the h one tag? So that blocks rendering on purpose but then you have a more stable layout in case you can't get rid of the quotes like I do. Of course, if you enable this on the footer, then your page doesn't render until the footer arrives and that would be the same as not buffering at all.
So aim for zero is my mantra. Like zero, zero, zero, zero, every layout shift I try to get rid of. Now I can't change the Core Web Vitals from Google so I basically added additional category expected and that's basically what I think a website or my website should be.
And in an ideal world, there would be 100% in there. One of the techniques I use there to get there is CLS frequency. And what a CLS frequency is, I don't care if a layout shift is zero dot zero one or zero dot zero two or zero dot zero five. I just care was there a layout shift or not.
So CLS frequency tells me from all page views I have, how many of them had zero layout shifts, yay party, and how many had a layout shift needs fixing. And just to show you because on a website, you have homepages, search pages, here you see that from the bottom, the second one from the bottom, Kit News, it's my news page, has 20% of all pages with a layout shift while others have much less.
So then I knew I had to fix this. I had to look at this. So I don't really care about the size of the layout shift, I often care just about was there a layout shift. As an example, on the English website my layout shift is 1%. If you would add the CLS frequency. In Chinese, everything is smaller, 1% layout shift.
How many Bulgarians are here in the room? One, I know there are two, two, two Bulgarians. Now two Bulgarians, that's two out of how many people? 300? Let's say that's not a lot. Every user who uses the Bulgarian website has 20% CLS frequency. Why is that?
Bulgarian has typically longer words than English and then there were some bad translations making it even longer. Now if I would just look at the p 75, I would basically say, sorry Zetan, sorry Zogen, my performance is good enough. They do deserve a fast website as well so I fixed this.
Now of course it's the wild, web and I'm saying here aim for zero. If you remember the numbers, I'm at 99.four. So did I fail? It's still the Wild Wild Web. And often you have users using older versions of browsers and one of my users uses still h 85 and each time he visits the website my CLS frequency skyrockets.
So I had two options, either I would block him, one option or and already did in this my last talk, Jan, he lives, he's not far away from here. Can you please, if you see this, can you please upgrade your browser? That's not the only problem. You also sometimes have some annoying colleagues who like to just disturb your perfect data.
Don't know if this guy looks familiar but Robin, stop it. Alright, that was CLS. After CLS comes LCP. I don't aim for LCP zero dot zero. No worries. No stress. Of course I have a responsive website.
It's twenty twenty six. And of course I use the picture elements and loading lazy and all those stuff, fetch priority high, that's all fine. Now I have a lot of long tail content. 1,000,000 products. There are many scale models but not that many that all these 1,000,000 products are seen a lot. Like many e commerce websites, have some popular products, long tail products.
So what data are you here? If you look at the source set, you will spot a pattern. I reuse the same breakpoints of images in multiple ticks. Now why would that be? And the CDN guys here in the room should know CDN efficiency. If you look at, this was a quite popular product and what you see is that the most popular one is seven twenty pixels, so that's basically the desktop version in combination with mobile two x, so that's three sixty times two, so that's the most popular one.
Five forty and three sixty pixels was almost never requested. Now what is then the problem? If they hit an edge server and it's not there, it needs to go all the way back to my server and then it's slow for performance. And ScaleMates is an international audience. I have users in Australia, Japan, everywhere in the world.
So how can I fix that? A, get more traffic. So if you all become scale modelers and visit my website, we solve that. Or, and that's what I actually did, I decided to ditch my 360 pixels variant. Why? Because it's faster to serve the 540 pixels version from cache and send a bit more bytes.
Then go all the way back to Frankfurt if you're in Australia to get that image. Now remember at some point in time I said I do love micro tuning and getting rid of quotes and super minification. Why do I use the picture element with source sets and all those things if you can just use this?
A lot shorter. The reason is simple. There is no DPR capping. And what do we mean with that? If you would use it like this, the browser will request the image based on the breakpoint, based on the size of the screen and then take into account the DPR pixel ratio.
Now a lot of Samsung phones, modern Samsung phones have a device pixel ratio of four. Meaning three sixty times four is 1,440. If you then have a lot of images on the page and then if you have a bad mobile connection, this is super, super slow. And the previous one, I can basically say, I am for me two x is good enough and then I can ship the seven twenty pixels version.
So my request to the browsers, I already asked this a few times, add some kind of DPR capping and I know Scott will now say, just do it yourself if you need to wait. Next is wrong LCP candidates. What is the LCP candidate here? Obviously that big image.
I have a lot of user generated content. So scale modders enter like Wikipedia style stuff in there. And sometimes pages look like this with a small image. What becomes the LCP element? My advertising banner. And what is the problem with advertising banners is that they are late discovered.
They first need to run some JavaScript, then it needs to do an ad call, some ad bidding, then everything comes back, you request the image so that's slow. Option one is send more bytes. I nudge my users, hey you uploaded a smaller picture, why don't you upload a bigger one? So sending more bytes to improve my LCP but also to improve the user experience or and that's what I call fast fallback banners, when I generate the page I know this image is small.
So when I know the image is small, I basically say don't use my standard ad server using JavaScript where I make the most amount of money. Fall back to a default image. For example, we sell coffee mugs of Skillmates or t shirts. That's a perfect scenario. I don't care about the tracking. I don't care about how many times a user saw that.
I just fall back to an image or I sponsor sometimes some events, scale modeling events and they get then a free banner. And that is then basically an early discovered image. It is just a standard image deck but then no reporting, nothing extra but a fast LCP. Beating latency, in theory that is what I do on a daily basis. My server is currently in Frankfurt and it is pretty old school. Why? Because I am in the cloud since many years but like many of you, I looked at the global map of my cloud provider and I picked one of the locations and that's where I do everything. What does it mean?
Users from Australia, when they have a cache miss at the CDN, They need to go all the way back to the origin. Now for things like CSS, JavaScript, fonts, my home page, that's not a problem. It would just be served from cache. I have 1,000,000 product pages in 20 languages. That's 20,000,000 different variants.
I do AB testing so that's 40,000,000 variants. I show a lot of dynamic info. So even if I cache it on the CDN, the chance that the user hits that same page is small. So what did I do? I said, well, why do I only use one data center?
Why don't I deploy a small version of my application? So in this case, PHP, MySQL, NGINX, small server in Australia and I did a small replication test. And at the CDN I basically said, if a user is from Australia, don't go to Frankfurt, go to Australia for my dynamic code. Here you see the waiting time.
Serious drop. That's for every dynamic request. Once I saw that my performance heart was like, oh, I felt good. My wife said, you again deploying to a new location? Yes, I'm happy again deploying a new location a little bit later, a little bit later. So this is the current state.
So yes, this ScaleMed stupid scale modeling website runs in multiple locations around the world. The main data center is still Frankfurt. That's for all the dynamic content. Now potentially I could deploy to even more locations. Now why don't I do that? Because yes, more locations might mean additional latency gains but there is also caching in memcached. There is caching in my SQL queries.
So I might win twenty milliseconds on latency but I might lose two hundred milliseconds on my database query because it's not coming from cache. And the other downside is the more locations I add, of course the more money I need to pay. So I need to find that sweet spot. Beyond the p 75, what is the next benefit?
This also was for Google crawler a benefit because instead of always having to go back to Frankfurt, they were able to fetch and crawl the content a lot faster. So think people caring about crawl budgets and stuff like that, then this is a good scenario. Beyond the p 75, search facets got also faster.
Now this is not measured in up till today or now with this new soft nav API. It might be before it didn't change. This did impact my user experience, yes. So that's the reason I was happy about that. Redirects are annoying, a bit like Robin.
The downside is I can't liquidate Robin but you can liquidate redirects. So it's quite easy. You notice there is some old URL somewhere on the web and you get a redirect to the new one and that first one is of course a little bit slower. So you request the old URL, the browser requests the old URL and the user sees the new URL.
That's what the redirect does but what does redirect migration do? You don't see the redirect. So you request the old URL, you get the new content, you get a 200 and you still see that new URL in the top. What is the magic? Quite easy. When I get that request for the old URL, I know which content the user needs.
So rather than saying, hey, here you need to grab it from here, I just deliver the new content but I don't want them to see the old URL so I add this history replace state with the new URL and you win redirects. Of course you don't want to have this for crawlers because otherwise your old links will stay in the system forever.
And here you see the impact. This is the amount of redirects I had before and then the drop at the end. Now why is this not completely zero? Some redirects from dub dub dub, from without dub dub dub to dub dub or from without HTTP to HTTPS, those can't use that mechanism.
Browser caching is the best thing you can do. Static objects, cache them forever, just change the version. HTML browser caching is a pain and in general, you don't do it. Now when you can't do it, was like, that doesn't make me happy so I found this interesting technique.
Suppose this scenario, a user visits nine pages, a, b, c, b, d, a, whatever, doesn't matter. And here you can see that request number four is a repeated view and request number A is a repeated view. If everything is no store, you would just do the same HTML request again. If you apply browser caching, let's say some five minutes, ninety seconds, six hundred, doesn't matter, what will be the benefit for request number four is it will be served from browser cache.
Request number six will be faster but will be served from browser cache. All good if you have a website where you can't log in because the moment you can log in, you'll have an issue. And the issue is not because users have bad passwords. The issue is not that your passwords are too short.
It's basically this. The moment somebody logs in, let's say between number four and five, they get to their logged in page and they go back to request number page number A, what will they see? They will think they are not logged in because the browser, the page was not logged in.
So great for my performance. My users yelled at me, screamed at me. They almost liquidated me after doing this. So I had to roll back and basically back to no store. You could go for then just two seconds or three seconds or one second but then what is the benefit of that?
So luckily that problem is not forever. That problem reduces the longer you wait after the login. So the MMA or the max of the max ages, that's the risk zone. In this page it would be 600. After ten minutes, this problem would go away.
Some of them we all say, hey just use clear site data cache. That's one option. What is the problem? It deletes all browser cache, not only the HTML, CSS, JavaScript, everything. So the benefits you would get from caching are you remove them the moment people log in. The other downside is, I tried it, My LCP increased like crazy because just the work the browser needed to do at that point in time. So what's the fix?
RLIBCB. And I promise you by this evening you have forgotten this acronym but I want you to remember the concept. Recently logged in browser cache bypassing. What is it basically doing? When the user log in, you set a cookie and the cookie expires after that risk zone. So ten minutes in the previous case.
Cookie is valid for ten minutes only. When my PHP server gets a request for the page with that cookie present, I know how, I can't use the default links because they might be in cache. I add that RLI equals one as a query string parameter. That's not in cache.
So issue solved. Downside is users will see for ten minutes RLI equals one and then they share data and they put it on Facebook and then Google starts crawling it. So not all I want. Same technique as I used with redirect liquidation when that query string is present. I do history replace state and it's a clean URL.
Benefit, I can now a lot a lot more cache my HTML pages and I don't need to worry the moment they log in. This one actually also a benefit for the next topic is progressive speculation. Who has heard about the speculation rules API? Quite a lot, excellent.
Just a quick recap because it's important. This was mentioned by Barry a few years ago at Google IO and don't tell my wife but this was like the best day of my life. Still love you Barry. And what it promises, it promises nearly instant performance. Eighty milliseconds LCP for a dynamic page with the user never ever visited with personalization everything eighty milliseconds.
It can actually be even faster. The fastest one I saw in real user monitoring was twenty two milliseconds. But in general on my page it's around eighty milliseconds. So just a quick recap, what can you do? You can decide what action do you want to do upfront, either prefetch which will grab the HTML, prerender will do a full prerender, request all images, Javas run the Javascript and then the little bit safer prerenderUntil script which will do the same but not run execute JavaScript. You can tell how eager it should be, conservative, moderate, eager and instant. On the next slide I will explain that and you can tell what needs to be done upfront, what should be speculated.
You can either have a hard coded list or some regex. So on all my pages which require speculation rules, I just have a class called SR speculation rules, two letters short and then I know what to do. Here you quickly see the overview. Conservative means you trigger the action, pre rendering for example on mouse down. Moderate will trigger it on hover after two hundred milliseconds, eager after ten milliseconds and instant basically as soon as possible.
Now what is the problem? Oh and the impact of the eagerness levels can be huge. So this is when I changed from on mouse down, which typically gives you seventy to one hundred and fifty milliseconds gain to on render, on hover two hundred milliseconds and that's basically the time you get extra basically to build faster.
Now what is the downside of the speculation rules? If you do it too aggressively, you can generate more traffic to the CDN, more traffic to your origin and also for your end users that generates more things. Good news is you can spread your risk. You can say hey, on the homepage, the carousel, I know that first link will be clicked.
You can there be more aggressive and otherwise go for moderate. What is progressive speculation? That's something I implemented on my website is on hover, I already triggered the prefetch. So I would have the HTML ideally in cache. That's a quite low risky thing to do and then when the user on mouse down, I upgrade the prefetch to a prerender.
Ideally, I already have the HTML and then I can continue. And good news is in 2027, it will also be possible to do prefetch, prerender until script and then prerender and this way progressively improve performance. That's the basic things.
What else can you do? You can also do speculation rules on form submissions. Now not on login forms or things like that but on my website in the search bar when people type, the moment they remove the focus and go to the, I lost the, sorry.
The moment people go over the search button, I include dynamically using JavaScript the speculation rules with eagerness eager and form submission true and then I do that. Now why is that? My search pages are the slowest because just the way it works. And here you see the amount of pre renderings after I implemented this technique. And then the impact on LCP was for this one around one hundred to one hundred and twenty milliseconds by triggering this sooner. I will skip that.
Now what is nice, on my website, this is for last month, 38% of my page views are pre rendered, are like instant. If you combine that with the BF cache, also instant, I'm like at almost 60% of my page views is instant.
Interaction to Next Paint, last section, quite easy. I didn't do anything special, just this and yeah, my INB, I never optimized my INB, it's just fast by default.
Now you might say, hey Tim, that's because there were no softnevs triggered. And so if you had a SPA you only measured the landing page which was not an honest thing. But since recently, and this is from trio. Sh softnevs, you can see that after Crux was added softnavs, 17% additional got a good IMP which is great.
But it doesn't mean if you add 17%, you're still only at 37% which pass the Core Web Vitals. So SPA only do it if it's really needed. That's my advice. Wrapping things up, so I think we agree, 75%, is that good enough?
No. Thank you. My target, my personal target is I want 99% to be good. Then I'm happy. So I'm not happy yet. Now I'm not saying that you should go for 99 but I do think that the P75 in general is way too low as a thing. So I think a target of P90 must be reasonable.
Like 90% of your users have a good rating and 10% suboptimal. I would also include two additional buckets. In the beginning we already saw expected. That's like where you are happy. Not what Chrome or Google says but basically where you are happy.
And then also would add that last one, terrible. That's really like the worst, the worst, the worst scenario and that's ideally where you want to have any users at all. And if you apply these two things, that's my mental thing. I want 75% of my users to be in my expected range.
So for CLS, that's zero and then a little bit more. I want for LCP, I have my own, if it's below one second, I'm basically happy. It should be below at the P 75 and of course everything above P 90 can then be improved or whatever. So that's my suggestion for the future for you.
So it's all about in the end user experience, user experience, user experience, user experience. And why in the end do I do all this for my users to be happy? And when you improve performance, it also allows you to improve the user experience in a different way.
For example, when I last year I increased the image sizes from seven twenty pixels to fourteen forty. So that's times two times two. That's four times more pixels. That's more weight. My LCP degraded a bit, still in my view within a good range and my users were delighted.
My users were delighted. So always focus on the users and then to finalize, life is too short for visiting slow websites and also life is too short to visit ugly websites. So add nice stuffs, add nice fonts, add those nice things. And with that, I would say thank you very much.
Are there any questions? And Robin, where are you? Thank you.
Yeah, I was gonna say you you brought your own sword but you didn't even use it.
Not too close. So
I do owe Tim an apology because I actually checked during the talk and it turns out that I am the one they call the clown at Akamai, not Tim. So we do have time for a few questions. Tim, first one from Harry who actually asked a very good question. What what kind of content do you actually place at your regional copies? So not the stack but like the actual content and how do you decide what can be served locally and what has to always go back to Yep.
Great question. So I don't store all content in, it's not like a full replica. I mainly go for the content which is visited the most. That means product detail information because that requires only a small portion of my PHP code, that requires only a portion of my database and that runs like on a small machine.
So anything more advanced like the search which requires 64 gigabytes of RAM and that's those kind of things or the ad server, that all stays centralized but the initial, let's say the product detail pages and the listing pages would be generated there and I decide that at the CDN. So if it's a specific path, go to the closest one, otherwise go to Frankfurt.
Yep,
makes sense. Next question is from Stojan, a very good one. He was missing one crucial performance feature in your talk which is service workers. He asked if you've done anything else and he also says, this is very important, I'm gonna read it, also Robin is the best. That's a that's a literal quote.
Next question please. So service workers. Yeah. Do I use service workers? I once tried it and I was... But I'm now talking about a few years ago. I was unhappy because I think service worker adds some additional complexity, add another layer of caching and where stuff can go wrong.
And back then in RUM I noted that when service workers had to start up, that they had a quite long, sometimes a quite long service worker startup time, which in my view back then didn't show enough benefits for doing that. So that's the reason why I don't use service workers. Yep.
Where is the one? Because that wasn't actually a good one. Oh yeah. From Florian, for your RLI trick, how does that interact with BFcache?
The RLI trick, how is... Yeah, so if it does not actually. So if people, you, let's say you're on a page, you log in, you visit a few pages and then you go back to the last page which you didn't, which was not logged in. Right now, I will show the non logged in page.
I don't actually think that's a real issue for my users. Why? Often they are on a page, they scroll down, they see like three nice products, then they say, oh I want to interact with it. They log in. They then click the back button and then they would like to be on the same spot where they saw those products to interact with it. So don't do anything special with the BFcache and I think users understand when they see the login page again and then go back that they are in the context of I'm not logged in. So I don't interact.
I don't do anything special there.
Good. Good. Eric Witt had a good question as well. But I know the answer to but I'm interested to see how you will navigate that. Why don't you just use very, the very header with the cookie you use for ROI?
Yeah, that's a good question. I think it's linked to the CDN. Yeah. Thank you.
No comment. No comment.
Eric, we will.
Alright. I'm gonna take this as a last question because it's a very important one. This is from at basic rum and he asks your permission to add a TIM mode to all rum products that you can toggle and that will automatically move things to the p 99 and and set different limits for things.
I love to set up.
Yep. So rum providers by now have official permission to add a TIM mode toggle to the products that will help you get these kinds of amazing results. Okay. Tim, thank you so very much as always.
Thank you. An amazing talk. Thank you.
People
- Simon Hearne
Technologies & Tools
- Content Delivery Network
- jQuery
- WebPageTest
- PHP
- MySQL
- NGINX
- Memcached
- Soft Navigation API
- History.replaceState()
- Speculation Rules API
- Back/Forward Cache
- Service Worker
Standards & Specs
- 103 Early Hints
- Fetch Priority
- Open Graph
- rel="expect"
- HTML picture element
- Clear-Site-Data
Concepts & Methods
- Largest Contentful Paint
- Interaction to Next Paint
- Cumulative Layout Shift
- Core Web Vitals
- 75th percentile
- Resource Preloading
- Lazy Loading
- Time to First Byte
- Real User Monitoring
- Multi-Page Application
- First Contentful Paint
- HTML Streaming
- CLS Frequency
- Device Pixel Ratio
- Progressive Speculation
- Single-Page Application
Organisations & Products
- Akamai
- Scalemates
- Google AdSense
- Google Analytics
- Akamai mPulse
- Chrome UX Report
Works
- Get Your Head Straight












