Use code PERFMATTERS for an extra 10% off!

General

How to disable scripts on a per post/page basis (Script Manager)

We now have a Script Manager in the Perfmatters plugin. This allows you to disable scripts on a per post/page...

Disable WooCommerce cart fragments AJAX (wc-ajax=get_refreshed_fragments)

WooCommerce sites, especially large ones, almost always encounter load time issues with the following AJAX request. https://domain.com/?wc-ajax=get_refreshed_fragments Even on our...

How to implement DNS prefetching in WordPress

DNS prefetching allows you to resolve domain names (perform a DNS lookup in the background) before a user clicks on...

How to remove Dashicons in WordPress (dashicons.min.css)

Dashicons is the official icon font of the WordPress admin as of 3.8. Some themes and developers utilize this (dashicons.min.css) on...

How to enable Local Analytics (host Google Analytics on your WordPress site)

Hosting Google Analytics locally can help speed up your site by reducing extra DNS lookups and resolving the “leverage browser...

How to remove jQuery Migrate in WordPress

They started adding jQuery Migrate in WordPress 3.6. Most up-to-date frontend code and plugins don’t require jquery-migrate.min.js. It’s for themes...

How to disable Google Maps API in WordPress

Some WordPress themes and plugins have Google Maps API built-in and unfortunately sometimes don’t have a way to turn it...

How to remove shortlink in WordPress

By default, the following tag shows up in every WordPress install. <link rel='shortlink' href='https://domain.com?p=712' /> This is used for a shortlink to...

How to disable Password Strength Meter in WordPress

Introduced in recent versions of WooCommerce and WordPress, there is an integrated Password Strength Meter which forces users to use...

How to remove wlwmanifest link in WordPress

By default, the following tag shows up in every WordPress install. <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://yourdomain.com/wp-includes/wlwmanifest.xml" /> The above link is...

How to remove WordPress REST API links

The WordPress REST API enables the CMS to communicate with other web properties, no matter what programming language they’re written...

How to change WordPress login URL

Sometimes the smallest of changes can make a huge impact when it comes to performance as well as security. By default,...

How to implement preconnect in WordPress

Preconnect allows the browser to set up early connections before an HTTP request, eliminating round-trip latency and saving time for...

Disable WooCommerce Reviews

Reviews are enabled by default when you install WooCommerce. If you aren’t using them, they load unnecessary scripts, dashboard widgets,...

How to disable the WordPress REST API

The WordPress REST API provides API endpoints for WordPress data types that allow developers to interact with sites remotely by...

How to disable WooCommerce scripts and styles

When you have WooCommerce installed it by default loads its scripts and styles on every page of your WordPress site....

How to disable XML-RPC in WordPress

XML-RPC was added in WordPress 3.5 and allows for remote connections, and unless you are using your mobile device to...

How to enable lazy load in WordPress (images, iframes, and videos)

With content on the web getting longer, it’s important to take advantage of features like lazy load in WordPress to...

How to remove RSD link in WordPress

By default, the following tag shows up in every WordPress install. <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://yourdomain.com/xmlrpc.php?rsd" /> The above link...

How to disable embeds in WordPress

Embeds were released with WordPress 4.4. This is basically the magic that auto converts your YouTube videos, Tweets, and URLs...

How to remove query strings from static resources in WordPress

Query strings such as “?” or “&” are sometimes appended on the ends of assets (CSS, JS) in WordPress, along with the...

How to disable the WordPress Heartbeat API

The WordPress Heartbeat API uses /wp-admin/admin-ajax.php to run AJAX calls from the web browser. While this is great and all it...

How to disable Google Fonts in WordPress

Google Fonts is a great service, but there are some scenarios when you might need to disable Google Fonts. Here...

How to remove RSS feed links in WordPress

Similar to how WordPress generates RSS feeds, it also generates RSS feed links for your pages/posts, comments, tags, etc. You...

How to remove WordPress version number

By default, the following tag shows up in every WordPress install. <meta name="generator" content="WordPress 4.7.5" /> It shows the version...