How to speed up website loading on WordPress
If someone told me tomorrow that I could only take one WordPress plugin to a desert island, I would choose the Perfmatters plugin🙂 And as of version 2.7.0, it has become even more of an all-in-one tool: Perfmatters now includes its own page cache, cache warming and Cloudflare edge caching. In my opinion, that makes it the number one WordPress optimization plugin right now.
Almost every website user on WordPress has experienced the problem of slow loading over time. Even if you don’t notice it, Google Search Console will alert you to it by reporting issues with LCP, INP, and others. Often such problems are noticed by site owners who use page builders or popular themes, such as Divi, Elementor, Astra, Avada, WP Bakery, etc. Additional filters, security plugins, recaptcha, additional statistics, and many other things (Jetpack, Broken Link Checker, Google Recaptcha, NextGen Gallery, Slider Revolution, etc.) also have a strong impact on site loading speed.
To solve your WordPress website loading issues, you need a good and fast hosting service. In this article, I will not describe which hosting is good and which is bad. You can read about it from other tech bloggers.
Just remember: high-quality hosting is part of the success in optimizing your website.
Another popular solution to slow-loading site problems on WordPress is to install a caching plugin (WP Rocket, WP Fastest Cache, LiteSpeed Cache, etc.) or connect Cloudflare APO. These are all good and proper solutions, but they should be applied last when you have already done all other optimization methods.
Caching still comes last, but you no longer need a separate plugin for it. Perfmatters can now handle page caching itself (see the Cache section below). If your host already provides server-level caching, or you use LiteSpeed Cache on a LiteSpeed server, keep using that instead. Never run two page caches at the same time.
If you can’t give up your favorite builder, stats, video content, etc., then there is an option that will help you speed up your website load time significantly it’s installing and configuring the Perfmatters plugin. Perfmatters is a plugin that helps you optimize your website performance by eliminating render-blocking resources and improving page load speed. It provides various features such as delayed loading of JavaScript and CSS, disabling unnecessary scripts and styles on specific pages, minimizing and merging CSS and JavaScript files, and much more. This plugin can be useful for improving the user experience and SEO performance of your website. Once you install and configure it, the last step is to turn on caching, which you can now do right inside Perfmatters.
Basic settings for Perfmatters plugin
Below are the best security and site speed boosting settings that are recommended for 95% of sites, including Elementor, Divi, Oxygen, Avada, WP Bakery, ACF, Thrive, Astra, etc.
Perfmatters > General

Disable Emojis – ON – Enabling this option helps reduce the number of server requests related to loading emojis, which can improve page loading speed.
Disable Dashicons – OFF – Enabling this option prevents dashicons from loading on your site. This may result in the loss of some icons, so it’s better to check if they are necessary for the visual design of your site.
Disable Embeds – ON – Enabling this option disables unnecessary inline code, which improves site loading speed.
Disable XML-RPC – ON – XML-RPC is a potential security vulnerability. Disabling this option can enhance your site’s security, especially if functionality dependent on XML-RPC is not used. If you have the Jetpack plugin installed, then disable this setting. But it’s better to avoid using the Jetpack plugin altogether.
Remove jQuery Migrate – OFF – Removing jQuery Migrate can cause compatibility issues on some sites, so it’s recommended to leave this option disabled if there is uncertainty about its necessity.
Hide WP Version – ON – Hiding the WordPress version helps reduce the likelihood of attacks on your site based on vulnerabilities in a specific WordPress version.
Remove wlwmanifest Link – ON – If you don’t use Windows Live Writer or are unfamiliar with it, feel free to enable this option.
Remove RSD Link – ON – If you edit your site from your browser and don’t need this, or it’s used by some third-party applications that utilize XML-RPC requests, then in most cases, this is just unnecessary code.
Remove Shortlink – ON – If you are already using pretty permalinks, such as domain.com/post, then there is no reason to keep this, it is just unnecessary code.
Disable Self Pingbacks – ON – Pingbacks are essentially nothing more than spam and simply waste resources.
Disable Password Strength Meter – ON – Disabling the password strength meter removes the password strength indicator when creating a new user, which can improve the user experience and simplify the registration process.
Remove Comment URLs – ON – Removing URLs from the comment form helps prevent spam and increases your site’s security.
Remove Global Styles – ON – Removing global styles can help reduce the amount of CSS code and speed up page loading.
Disable Heartbeat – Only Allow When Editing Posts/Pages – Allows limiting the activity of the WordPress Heartbeat API, which can reduce server load and improve site performance.
Heartbeat Frequency – 30 Seconds – Sets the interval between WordPress Heartbeat API requests. Setting a longer interval can reduce server load.
Limit Post Revisions – 5 – Limiting the number of post revisions helps reduce the size of the WordPress database and decrease server load.
Autosave Interval – 1 Minute – Sets the interval between automatic drafts and post saves. Setting a longer interval can reduce server load.
Perfmatters > JavaScript

Defer JavaScript – I configure this option in Perfmatters. If you still use WP Rocket or LiteSpeed Cache for caching, disable Defer JS there so it isn’t applied twice. I add the following lines to the exclusions:
/jquery-migrate.min.js
/jquery/jquery.min.js
Delay Behavior – Only Delay Specified Scripts – If you lack experience in website testing or optimization, I recommend enabling this option and using the list provided below, which is suitable for 99% of WordPress sites.

Basic Delayed JS:
/busting/facebook-tracking/
/wp-content/plugins/gravityformsrecaptcha/js/frontend.min.js
/wp-includes/js/comment-reply.min.js
adsbygoogle.js
ai_insert_code
analytics.js
connect.facebook.net
fbevents.js
fbq(
gforms_recaptcha_recaptcha_strings
google.com/recaptcha/api.js
googleads.g.doubleclick.net
maps.googleapis.com
stats.wp.com
w.loadCSS
widget.trustpilot.com/bootstrap
wpmejsSettings
www.googletagmanager.com
Delay Timeout – ON – It’s essential to enable this to ensure delayed loading triggers in case there’s no interaction with the page.
Minify JavaScript – ON. Since Perfmatters added minification, I enable it here instead of in a cache plugin or Cloudflare. Check the site after enabling it, and if something breaks, exclude that script.
Perfmatters > CSS

Remove Unused CSS – ON – I recommend using delayed loading via the Perfmatters plugin, even if you have WP Rocket installed. Delayed loading via Perfmatters operates faster and more reliably than in WP Rocket.
Used CSS Method – Inline
Stylesheet Behavior – Delay
Excluded Stylesheets & Excluded Selectors
Basic list of Unused CSS exclusions for Elementor and Elementor Pro:
/elementor/css/post-
.animated
.bg-light
.col-full-nav
.collapse
.current
.dt-mobile-menu-icon
.dt-mobile-menu-icon:after
.dt-mobile-menu-icon:before
.elementor-accordion-icon-closed
.elementor-accordion-icon-opened
.fa-angle-up
.fadeInDown
.fadeInUp
.full-height
.header-bar
.hidden-header
.justify
.lines-button
.masthead
.masthead-mobile
.masthead-mobile-header
.menu
.menu-box
.menu-line
.menu-overlay
.menu-toggle-caption
.mobile-header-bar
.mobile-navigation
.mobile-sticky-header-overlay
.navbar
.navbar-brand
.navbar-collapse
.navbar-expand-lg
.navbar-light
.navbar-toggler
.next::after
.no-mobile
.onsale
.overlay-bg
.page-numbers
.prev
.prev::after
.shoptimizer-primary-navigation
.shoptimizer-product-prevnext
.shoptimizer-sorting
.shoptimizer-sticky-add-to-cart
.show
.show-on-desktop
.site-header-cart
.swiper-button-next
.swiper-button-prev
.term-description
.top-bar
.vc_general
.vc_parallax
.vc_parallax-content-moving
.vc_row-has-fill
.visible
.widgets
#main
#menu-header-main
Basic list of Unused CSS exclusions for Divi:
/wp-content/et-cache/
.clearfix
.closed
.cn-effect-slide
.cn-position-bottom
.comment_container
.cookie-notice-container
.cookie-notice-visible
.cookie-revoke-hidden
.current_page_item
.current-menu-item
.dica-paination-0
.draggable
.dtb-hamburger
.dtb-hamburger-box
.dtb-hamburger-inner
.et_dropdown_animation_fade
.et_first_mobile_item
.et_mobile_menu
.et_mobile_nav_menu
.et_multi_view__hover_selector
.et_multi_view_image__loaded
.et_multi_view_swapped
.et_pb_bg_layout_
.et_pb_bg_layout_light
.et_pb_carousel_wrapper
.et_pb_db_product_carousel
.et_pb_menu
.et_pb_menu__logo
.et_pb_menu__logo-wrap
.et_pb_menu_0_tb_header
.et_pb_menu_page_id-home
.et_pb_menu--style-left_aligned
.et_pb_menu--with-logo
.et_pb_mobile_menu_upwards
.et_pb_sticky_placeholder
.et_pb_wc_images
.et_pb_wc_images_0_tb_body
.et_pb_with_border
.fa-arrow-right-long
.fa-solid
.first-level
.first-level-1
.flex-active
.flex-control-nav
.flex-control-thumbs
.flex-viewport
.grecaptcha-badge
.hamburger_menu_icon
.hamburger_menu_icon-toggled
.main-title
.main-title-forum
.menu-item
.menu-item-home
.menu-item-object-page
.menu-item-type-post_type
.mobile_menu_bar
.mobile_nav
.my_main_header
.no-lazyload
.opened
.opened
.page_item
.pages-and-menu
.product-wrapper
.responsive-iframe
.skip-lazy
.slick-active
.slick-center
.slick-current
.slick-initialized
.slick-list
.slick-slide
.slick-slider
.stars
.swiper-pagination
.swiper-pagination-bullet
.swiper-pagination-bullet-active
.swiper-pagination-bullets
.swiper-pagination-clickable
.variations
.woocommerce-product-gallery
.woocommerce-product-gallery__trigger
.woocommerce-product-gallery--columns-4
.woocommerce-product-gallery--with-images
#cookie-notice
#mobile_menu1
Perfmatters > Preloading

Enable Instant Page: ON – If you’re not running an e-commerce store, you can confidently enable this option.
Preload Critical Images: 1 – This value should be sufficient; typically, it triggers the preloading of the logo.
Perfmatters > Lazy Loading

Images – ON
Exclude Leading Images – 3 – This setting excludes the first three images from Lazy Load.
iFrames and Videos – ON
YouTube Preview Thumbnails – ON – If you’re unsatisfied with the quality of preview images after enabling LazyLoad for YouTube, you can improve it with this snippet.
Exclude from Lazy Loading:
logo
Threshold: 100px – Optimal value for a standard WordPress site.
DOM Monitoring: ON – helps address possible glitches when using Lazy Load.
Perfmatters > Fonts

Local Google Fonts: ON
Display Swap: ON – This option may cause issues with CLS. In that case, try configuring font preloading or disable this option.
Limit Subsets, Allowed Subsets, Print Method: In version 2.3.6 there is a new feature for font optimization Limit Subsets. This function removes unused font versions from the CSS file. I also recommend to change the Print Method setting to Inline. This is not a killer feature, however it additionally speeds up the loading of fonts on your site.

Perfmatters > Tools

Script Manager – On
To access the Script Manager settings, go to: yourwebsite.com?perfmatters
Here, you’ll find a control panel for all the scripts used on your site. If you’re not familiar with testing, simply disable the following scripts (if you’re not using Gutenberg blocks).
/dist/block-library/style.min.css
Disable for Logged In Users: ON
Perfmatters > Database

Post Revisions – ON – Clears old revisions, enhancing database speed.
Expired Transients – ON
All Transients – ON
Scheduled Optimization – Weekly
Perfmatters > Cache (Beta)

This is the feature I’ve been waiting for. Starting with version 2.7.0, Perfmatters has a new Cache tab. You can now speed up a site with a single plugin: clean up the bloat, optimize JS and CSS, and cache the result.
Here’s what the new tab includes:
- Page Cache. Public pages are stored as compressed HTML files on disk and served without running PHP or querying the database. According to Perfmatters’ own tests, this cut TTFB (Time to First Byte) by about 65%.
- Static asset headers. Expiration headers for static files (images, CSS, JS) are set automatically, so you don’t need to edit .htaccess.
- Mobile Cache. You can keep a separate cache for mobile devices.
- Cache Warming (preload). Perfmatters crawls your posts, pages and other public content and builds the cache in advance, so even the first visitor gets a fast page. You choose which content to warm, and you can run the warmer on a schedule or by hand.
- Cloudflare Edge Cache. Your HTML is cached on Cloudflare’s servers, close to your visitors. Perfmatters sets up the Cache Rules through an API token, with zone controls and an edge TTL setting. For many sites this can replace Cloudflare APO.
- Expiration. You set separate lifespans for the page cache and the edge cache. Longer lifespans give better performance.
- Exclusions. You can exclude URLs, cookies, query strings and more from the cache.
My recommended settings:
- Page Cache: ON.
- Mobile Cache: ON only if your theme serves different HTML on mobile. Most modern responsive themes don’t, so leave it OFF.
- Cache Warming: ON. Warm your main post types and pages, and run it on a schedule.
- Cloudflare Edge Cache: ON if your domain is on Cloudflare. It gives the biggest boost for visitors far from your server.
- Cache lifespan: keep it long. Shorten it only if your content changes very often.
- Exclusions: for WooCommerce, make sure the cart, checkout and my-account pages and their cookies are excluded. For membership sites, exclude private areas.
Important notes:
- The feature is still in Beta. Test it on a staging site first, or check your key pages (forms, cart, checkout) after you turn it on.
- Before you enable it, deactivate any other page cache plugin (WP Rocket, WP Fastest Cache, etc.). Two page caches will conflict.
- On hosts with their own server cache (WP Engine, Kinsta, LiteSpeed hosting), the host’s cache is usually the better choice. On those hosts I use every Perfmatters feature except page cache.
- Test speed while logged out. Logged-in admins usually bypass the cache, so the site can look uncached when it’s actually working.
Update July 2024
Recently, there was an update to the Perfmatters plugin. The update primarily improved the plugin’s usability. Additionally, the creators of the plugin introduced a new option called Separate Block Styles, which helps further optimize the loading speed of your WordPress site.

While this is not a groundbreaking feature, it can still help enhance your site’s performance. Minification functions for JS and CSS have also been added. I have been waiting for this update for a long time because now it is not necessary to install WP Rocket plugin for some hosting sites to enable these features (WP Engine, Rocket.net, Kinsta and others block the work of cache in WP Rocket plugin).
Update November 2026: Perfmatters Gets Page Caching
The biggest update in the plugin’s history so far. Now version 2.7.0 adds a full Cache tab with disk page cache, cache warming and Cloudflare edge cache. That was the last reason I still needed WP Rocket on most sites. Perfmatters now covers the full chain: removing bloat, the Script Manager, delayed JS, unused CSS removal, lazy loading, local fonts, database cleanup, and now caching. All the details are in the “Perfmatters > Cache” section above.
Perfmatters Plugin Frequently Asked Questions
Is Perfmatters better than WP Rocket?
Since version 2.7.0, Perfmatters covers everything WP Rocket does, including page caching, plus things WP Rocket can’t do, such as per-page script control with the Script Manager. For most sites, Perfmatters alone is now enough. The exception is hosts with their own server cache (WP Engine, Kinsta, LiteSpeed hosting): there, use the host’s cache and Perfmatters for everything else.
Does Perfmatters work with Elementor and Divi?
Yes, but requires proper configuration. Both Elementor and Divi load a large number of scripts and styles sitewide that aren’t needed on every page. Perfmatters Script Manager functions lets you disable those scripts on pages where they aren’t used, significantly reducing page weight. Use the exclusion lists provided in this guide for stable results without breaking your layout.
Will Perfmatters break my site?
Only if configured incorrectly. The most common issue is disabling scripts that are actually needed on certain pages. To avoid this, start with the “Only Delay Specified Scripts” option instead of delaying all JavaScript. Always test after making changes check your site in an incognito window and on mobile device.
Does Perfmatters help with Core Web Vitals?
Directly yes. Delayed JavaScript loading improves INP and LCP scores. Removing unused CSS reduces render-blocking and improves LCP. Local Google Fonts eliminates external requests that delay FCP. With its built-in page cache, Perfmatters alone is enough to pass Core Web Vitals on most standard WordPress sites.
Is Perfmatters worth $30/year?
Yes, it’s one of the best-value plugins in the WordPress ecosystem. WP Rocket costs $59+/year, while Perfmatters now includes page caching too, along with granular per-page script control that no other plugin does as cleanly. For anyone serious about WordPress performance, it’s a no-brainer.
Summary
Over time, websites can slow down due to installed plugins, statistics, and other factors. Also Perfmatters is the perfect solution if you use LearnDash on your website. To speed up the loading time of your site, it is recommended to install and configure the Perfmatters plugin, perform image optimization, and enable caching. I have tried many plugins, but Perfmatters has proven to be the most convenient. With the addition of page caching, I now consider Perfmatters the number one WordPress optimization plugin. It’s the only plugin I really need on most sites, all for about $30 a year. Although the Assets Cleanup plugin also has some customization, but its functionality and usability are not comparable to Perfmatters.
One of the main advantages of the Perfmatters plugin is its detailed documentation that explains the meaning of each function in clear language. Its price is also pleasantly surprising only $30 per year, which is a significant savings compared to other paid and free plugins to speed up and secure your website. In addition, it is worth noting the excellent technical support, which promptly answers all questions and helps to solve problems.
If you’re on a host where you still use WP Rocket, check out my [WP Rocket settings guide]. Also, check out my article on image optimization if you missed it.




Leave a Reply