RebelMouse’s PageSpeed and Core Web Vitals Guide for Developers
The RebelMouse platform delivers tremendous page speed that's unparalleled by any other publishing solution. Our obsession with performance means that the sites within our network enjoy some of the fastest load times on the web.
Even with high-performing sites, it can be a challenge to balance monetization while maintaining a quality user experience on every page. Google has recently announced a new update that says its page experience signals will become a part of its search rankings. One major factor of the experience is Google's Core Web Vitals, which is made up of three key metrics that determine your site's performance:
- Largest Contentful Paint (LCP): LCP looks at the largest file that needs to load in the visible part of the screen when a page first loads.
- First Input Delay (FID): FID quantifies a user's experience when they interact with an unresponsive page upon load.
- Cumulative Layout Shift (CLS): CLS measures the amount that a page's content moves around (i.e., shifts) during the entirety of a session on that page.
Google's Core Web Vitals. Image from Google.
As you make changes to your site's codebase with these metrics in mind, here are some key concepts to consider that impact speed:
In some cases, you may need to implement height and width CSS properties to ensure that your site's ads do not impact your CSL score.
Manage Custom Fonts
You can rack up penalties on page speed for custom fonts if you don't use them correctly. Our custom font element in our Layout & Design Tool allows you to lazy load a font and have zero LCP and zero CLS penalties. This will take some work to implement per site in order to take full advantage of the zero-penalty opportunity.
Use the CLS Debugger
Google's CLS metric can be tricky to manage since it doesn't always get scored correctly by the PageSpeed Insights tool, which only measures the first load of a page. At RebelMouse, we built a CLS debugging tool to help you better understand CLS. If you're on RebelMouse, you can access the tool by adding ?debug=cls to any page on your site. This feature will show the CLS score changing as you browse to help identify areas of improvement.
Here's an example link where you can see the tool in action: https://www.brit.co/beginner-instant-pot-recipes/?debug=cls
An example of RebelMouse's CLS debugger feature.
Test PageSpeed Scores After Making Code Changes
It is tempting to release new changes through a normal quality assurance process, but we recommend that you always check your PageSpeed Insights scores on every page that could be impacted by your updates. Then, follow up on any penalties on third-party code or image uploads to figure out what you need to optimize.
Google's PageSpeed Insights report.
You can use Google's Web Vitals report to confirm the impact LCP, CLS, and FID changes have had the day after you've made your site updates. If you're publishing on RebelMouse, we've integrated Google's Web Vitals open source Google Analytics tracking code into all of the sites in our network, so real user data is automatically collected.
Set Up Your Site for Success
If you're on RebelMouse and want to learn more about how to score high on Google's Core Web Vitals, email firstname.lastname@example.org or talk to your account manager today.
Not on RebelMouse yet? Request a proposal today to get started.
- Measure Core Web Vitals and Web Performance Metrics in ... ›
- The Complete Guide to Google's Core Web Vitals Performance Metrics ›
- 7 Tips to Improve Your Core Web Vitals Scores & Page Experience ... ›
- Core Web Vitals report - Search Console Help ›
- Cumulative Layout Shift - Overview of 2021 Google Ranking Factor ›
- What is Cumulative Layout Shift (CLS), And How To Optimize It ... ›
- Cumulative Layout Shift (CLS) ›