Safe Mode

The Safe Mode lets you test NitroPack’s features in an isolated environment. That way, you can experiment without affecting your visitor’s experience.

Safe_Mode_General_Settings.png

Here’s how it works:

When you turn the Safe Mode on (from the General Settings), it disables NitroPack for your website. While this mode is active, you can access the test (optimized) version of any page by adding ?testnitro=1 to its URL, like this:

Your_Website_Example2.png

At the same time, your website’s visitors land on the regular URLs.

Your_Website_Example.png

Put simply, while the Safe Mode is active:

  • Your website is up and running as if NitroPack is disabled.
  • You can access the optimized (test) version of any page by adding ?testnitro=1 to its URL.

Any changes you make while in Safe Mode affect only the test pages. This lets you experiment with settings without affecting the user experience.

Just remember that after disabling the mode, all changes will be transferred to your live website. If you don’t want that, make sure to reverse any changes you made while in Safe Mode before turning it off.

Using The Safe Mode - Example

Let’s say you want to experiment by adding Custom CSS to your site. Just enable the Safe Mode, write your Custom CSS and save the settings.

Safe_Mode_and_Critical_CSS.png

After that, the results will take place only on the ?testnitro=1 URLs. You can then check how test pages look and run them through PageSpeed Insights, GTmetrix, or any other site speed tool.

PSI_Test.png

That way, you know what to expect in terms of site speed and appearance.

When you’re done testing, you can publish the Custom CSS on your live website by:

1. Turning off the Safe Mode

2. Saving the settings

3. Purging the website’s cache from the Dashboard

On the other hand, if you don’t want to keep the change on your website:

1. Delete the Custom CSS

2. Disable the Safe Mode

3. Save your settings

Was this article helpful?
17 out of 19 found this helpful

Comments

0 comments

Please sign in to leave a comment.