As the name implies, safe mode means to help solve the problem without completely disabling the feature. For example, you can open Word and Excel documents in safe mode in PC, and open applications by disabling extensions and other unnecessary features. Now it is becoming more and more popular, and WordPress plug-ins like WP Rocket also provide safe mode.
in this article, we will explain how to enable security mode in WP Rocket and what happens if you do so.
troubleshooting WP Rocket problems
as a powerful caching plug-in, WP Rocket may break your site layout or disable some features. This occurs when you enable settings such as merge JavaScript, delete unused CSS, and so on. Whenever you want to confirm that the problem is caused by the WP Rocket cache, you can easily bypass the WP Rocket cache to check for uncached pages on your site. The good part is that you can do this without using plug-ins.
, however, after confirming the problem, the only option is to deactivate the plug-in or disable the features one by one to narrow down the problem. To make this troubleshooting easier and minimize work, WP Rocket introduces a new feature called safe mode. With this feature, you can disable some features on the entire site while constantly using plug-ins.
enables safe mode
- in WP Rocket when you encounter a problem, go to the “plug-ins & gt; installed plug-ins” section of the dashboard.
- finds the WP Rocket plug-in and clicks the “deactivate” link under the plug-in name.
deactivate the WP Rocket plug-in
- . If you are using a version prior to 3.11.0.3, you will see the following message. Message
in the older version of the
- plug-in, which means that you must first update the plug-in to version 3.11.1 or later. After that, you will see the following message when you deactivate.
- now select the “Yes, apply Safe Mode” option, and then click the “Confirm” button.
- you have enabled safe mode in the WP Rocket plug-in and continue to check to see if the problem has been resolved. Security Mode option in
WP Rocket what happens to
Security Mode? When
confirms the safe mode option, WP Rocket disables the following features. The delayed loading option for
- pictures, iframe, and videos under “Media & gt; Lazy Load” will be disabled.
- all CSS and JavaScript optimizations, such as minimization, merging, critical CSS generation, deletion of unused CSS, and delayed JS under “File Optimizations” are disabled.
- the “Enable Content Delivery Network” option will be disabled under “CDN”. After
disables all of these features, you should be able to get the site back to work. After that, you can enable each of these options and check which option is causing the problem. How does
disable safe mode?
is important because WP Rocket does not provide any option to disable safe mode. Because it only disables a set of options, you need to re-enable these settings to disable safe mode. This means that you should remember the previous settings before using safe mode. Otherwise, you may be confused about whether you have used a feature before. In this case, we do not recommend using safe mode unless you know your settings or use WP Rocket for staging / local host settings.
Summary
you can easily enable safe mode in WP Rocket before you completely deactivate the plug-in. It can help you restore your site without losing caching capabilities. However, you must enable these features one by one to restore the previous manual settings.