Performance & Core Web Vitals

Measure and improve site speed performance.

Enable text compression

Your text-based resources, like CSS and JS, should be served compressed to your site’s visitors. Google PageSpeed will test this, and if they discover any files that are not compressed, but still might be optimized, then the Opportunities section of…

Font display

The Font display insight flags pages where custom web‑fonts hide text while they load, causing a Flash of Invisible Text (FOIT) and hurting Core Web Vitals. Consider setting font-display to swap or optional to ensure text is consistently visible. swap can be…

Forced reflow

PageSpeed warns about Forced reflow when JavaScript asks the browser to stop the rendering to recalculate the size or position of an element, slowing the performance of the page. A forced reflow occurs when JavaScript queries geometric properties (such as…

Google PageSpeed grade does not improve

WP Rocket improves the Google PageSpeed grade and Core Web Vitals (CWV) of a website. In this article, you'll learn what to do when the PageSpeed grade does not improve. You’ll find the general guidelines and tips, information about audits,…

Handling external resources

This article was built as a guide on how the external content affects the performance of a site, and how site owners can handle them. The problem with external content Every website contains images, CSS and JavaScript files  to create…

How to find which plugin calls admin-ajax.php

Some plugins use AJAX requests to launch a custom wp_query in order to show it in the page without a complete reloading, which is a good method for displaying dynamic content on a cached page.  This AJAX request is sent…