Skip to main content
Test Mode
Updated over a week ago

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

Here’s how it works:

When you turn the Test Mode on, 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 Test 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 Test 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 Test Mode before turning it off.

Using The Test Mode - Example

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

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.

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 Test 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 Test Mode

3. Save your settings

Did this answer your question?