Use code PERFMATTERS for an extra 10% off!
  1. Home
  2. Docs
  3. Troubleshooting
  4. How to quickly test with Perfmatters off (safe mode or query strings)

How to quickly test with Perfmatters off (safe mode or query strings)

When it comes to debugging, it can be helpful to test with Perfmatters off quickly to rule out a problem. This saves time from toggling settings off in the plugin or temporarily deactivating it. You can use safe mode or query strings.

Safe mode

Safe mode allows you to quickly disable all Perfmatters optimizations sitewide for troubleshooting. Security-related options and code snippets will remain active. Follow the steps below.

Step 1

Click into the Perfmatters plugin settings.

Perfmatters plugin settings
Perfmatters plugin settings

Step 2

Click on the “Tools” menu.

Perfmatters tools menu
Perfmatters tools menu

Step 3

Under the plugin section, toggle on “Safe Mode.”

Perfmatters safe mode
Perfmatters safe mode

Step 4

Scroll down and click “Save Changes.”

You will see a safe mode warning inside of the Perfmatters plugin settings area until safe mode is turned back off.

Perfmatters safe mode warning
Perfmatters safe mode warning

Test with Perfmatters off using query strings

If you don’t want to use safe mode, you can also turn Perfmatters off on individual URLs to troubleshoot issues. To turn Perfmatters off, add the following query string to the end of a URL:

?perfmattersoff

This turns off features in our global buffer, which includes the following:

  • Delay JS
  • Defer JS
  • Minify JS
  • Remove Unused CSS
  • Minify CSS
  • Lazy loading
  • Preloading
  • Local Google Fonts
  • Disable Dashicons
  • Disable Emojis
  • Disable Embeds
  • Remove jQuery Migrate
  • Disable Google Maps
  • Remove Global Styles
  • Separate Block Styles
  • Disable WooCommerce Scripts
  • Disable Cart Fragmentation
  • CDN rewrite

Note: Anything not included is due to security.

Test with JS features off

To test with the Delay JS, Defer JS, and Minify JS features off, add the following query string to the end of a URL:

?perfmattersjsoff

Test with CSS features off

To test with the Unused CSS and Minify CSS features off, add the following query string to the end of a URL:

?perfmatterscssoff

Related Articles