Safe mode as the name indicates help to troubleshoot the problems without completely disabling the features. For example, you can open Word and Excel documents in your PC with safe mode to open the app by disabling extensions and other unnecessary features. Now that it is getting popular that WordPress plugins like WP Rocket also offers safe mode. In this article, we will explain how to enable safe mode in WP Rocket and what happens if you do so.
Troubleshooting WP Rocket Issues
Being a powerful caching plugin, WP Rocket may break your site layout or disable certain features. This happens when you enable the settings like combine JavaScript, remove unused CSS, etc. Whenever you want to confirm the problem is due to WP Rocket caching, you can easily bypass WP Rocket caching to check uncached pages on your site. Good part is that you can do this without deactivating the plugin.
However, when the problem is confirmed, the only option was to deactivate the plugin or disable the features one by one to narrow down the issue. To make this troubleshooting easier and minimize work, WP Rocket introduced a new feature called Safe Mode. Using this feature, you can disable certain functions on entire site without deactivating the plugin.
Enabling Safe Mode in WP Rocket
- When you have a problem go to “Plugins > Installed Plugins” section in your dashboard.
- Find WP Rocket plugin and click on “Deactivate” link below the plugin name.
- If you are using older version than 3.11.0.3 then you will see a message like below.
- It means you have to first update the plugin the version 3.11.1 or later. After that you will see the following message when you deactivate.
- Now, select “Yes, apply Safe Mode” option and click “Confirm” button.
- That’s it!!! You have enabled safe mode in WP Rocket plugin and continue checking the issue is resolved.
What Happens with Safe Mode?
WP Rocket will disable the following features when confirm safe mode option.
- Lazy loading of images, iframes and videos options will be disabled under “Media > Lazy Load” section.
- All CSS and JavaScript optimizations like minify, combine, critical CSS generation, remove unused CSS, defer JS and delay JS will be disabled under “File Optimizations” section.
- “Enable Content Delivery Network” option will be disabled under “CDN” section.
With all these things disabled, you should be able to get the site back in working condition. After that you can enable these options one-by-one and check which one is creating problem.
How to Disable Safe Mode?
This is an important point as WP Rocket does not offer any option to disable the safe mode. As it is simply disabling set of options, you need to enable those settings back to disable safe mode. This means you should remember your previous settings before using safe mode. Otherwise, you may get confused whether you were previously using a feature or not. In this context, we do not recommend using safe mode unless you know you settings or have a staging / localhost setup with WP Rocket.
Final Words
You can enable safe mode in WP Rocket easily before completely deactivating the plugin. It can help to restore your site without losing the caching features. However, you have to enable the features one-by-one to restore the previous settings which is manual work.
Leave a Reply
Your email is safe with us.