Skip to main content
All CollectionsFrequently Asked Questions (FAQs)NitroPack's Modes
How to Safely Test NitroPack's Ludicrous Mode
How to Safely Test NitroPack's Ludicrous Mode
Updated over a year ago

NitroPack’s Ludicrous mode can be suboptimal for some JavaScript-heavy websites. Here’s how you can safely test this preset without affecting your visitors’ experience:

(If you’ve disabled the JavaScript in your browser, enable it before performing this check)

  1. In your NitroPack account, go to Settings >> General and turn on Test Mode.

This mode disables NitroPack for your site and lets it optimize only separate (test) versions of all pages. You can access these test pages by adding ?testnitro=1 to any URL. (e.g., https://yourwebsite.com/?testnitro=1).

While the Test Mode is active, your website is up and running, with visitors landing on the regular URLs (which aren’t optimized by NitroPack).

image3.png

You can access a test version of any page by adding ?testnitro=1 to its URL.

image2.png
  1. Once the Test Mode is enabled, switch to Ludicrous:

strong-ludicrous.gif
  1. Save your settings and purge the cache from the Dashboard.

All changes from switching to Ludicrous will take place only on the ?testnitro=1 URLs.

  1. Open the test pages you want to check in Incognito/Private mode and refresh them a few times.

You should definitely check your test homepage, product and checkout pages (for eCommerce stores), or popular articles (for publishers).

Important Note: Elements generated via JavaScript can be negatively affected by the Ludicrous mode, so make sure to test them thoroughly.

  1. Make sure you’re looking at an optimized version of each test page.

You can see which pages are optimized in the “Optimizations” panel. It’s also useful to check whether NitroPack is serving the optimized version of each test page by following the instructions in this article.

  1. Lastly, if everything looks and functions as it should, you may decide to upgrade your live site to Ludicrous. You can do that by:

  • Turning off the Test Mode;

  • Saving your settings;

  • Purging the cache.

On the other hand, if you want to keep your current settings and not upgrade your live site to Ludicrous:

  • Switch back to your previous mode;

  • Disable the Test Mode;

  • Save your settings.

Did this answer your question?