RebelMouse Talk to Us
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:

JavaScript Element

If you have JavaScript from ads running on your site, Google's PageSpeed Insights tool will penalize you for them if they're not being deferred off-screen properly. That's why it's important to use third party scripts in a way that won't load completely at the start of each user's visit. We are able to control this through the JavaScript element in our Layout & Design Tool.

You can check out the link above for all of the details on how we did it, but the quick answer is that you can use our Layout & Design Tool to add a JavaScript element to your site, which can then be set to one of three different priority levels:

  • Optimized (Beta) is best for users who want the latest cutting-edge approaches. We use it in our own development work. This priority level will pause JavaScript from firing until well after the page has fully loaded, which gives you the highest PageSpeed Insights and Core Web Vitals scores.
  • Load Blocking is used for executing JavaScript right away, and will generally have a negative impact on your PageSpeed Insights score. This priority level will fire the JavaScript immediately after the page has completed loading. This has the potential to drop your performance scores by 10 to 40 points depending on the extra call. We do recommend testing your page with PageSpeed Insights after switching to this choice to understand the actual impact.
  • Post LCP is the best option to blend green Core Web Vitals scores with a very fast load. This priority level will cause JavaScript to load immediately after the Largest Contentful Paint event has completed. This is recommended for ads only, where you have increased revenue in delivering ads to users who are only on the page for five seconds or so.

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 support@rebelmouse.com or talk to your account manager today.

Not on RebelMouse yet? Request a proposal today to get started.

What Is RebelMouse?
Request a Proposal
The Most Secure CMS of 2022
Featured

The Most Secure CMS of 2022

Why RebelMouse Is the Most Secure CMS on the Web

Delivering a secure, high-performing environment with extreme reliability is essential to all of our clients at RebelMouse. We only use industry-leading, reliable approaches to host our infrastructure. This ensures maximum stability and security for all of our clients’ data. Here are just some of the reasons we’re able to maintain a hard-bodied product that’s flexible, too.

Keep reading... Show less
Google Made Major Changes to Its Formula for Page Speed. Here’s What to Do About It in 2022.
Rebel Insights

Google Made Major Changes to Its Formula for Page Speed. Here’s What to Do About It in 2022.

Make sure your site is set up for success in 2022.

In the spring of 2020, Google let the world know that its Core Web Vitals would become the new benchmark for measuring a site's performance in its search results, known as the page experience update. Fast forward to more than a year later in August 2021 when, after much anticipation, Google's page experience update became official.

Since its rollout, developers have felt the impact of how their publishing platforms stack up against the new standard. Important decisions around the architecture of your site can now make or break your site's performance in the eyes of Google.

HTTP Archive, a tracking platform that crawls the web to identify trends and record historical patterns, has revealed how top content management systems (CMS) have weathered the page experience update through the creation of its Core Web Vitals Technology Report. RebelMouse consistently outperforms major CMS platforms on Google's most critical metrics since its rollout and into 2022:

Getting superior scores on Google's performance benchmarks isn't easy, either. The Ahrefs blog analyzed Core Web Vitals data from the Chrome User Experience Report (CrUX), which is data from actual Chrome users, to see how the web stacks up against Core Web Vitals. Their study found that only 33% of sites on the web are passing Core Web Vitals.

data from Ahrefs tracked on a line chart finds that shows only 33% of sites on the web pass Google's Core Web Vitals From Ahrefs.

Luckily, performing well on Core Web Vitals is possible with thoughtful, strategic changes to your site’s codebase. Here's what you need to know and how we can help.

Keep reading... Show less
Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now