WordPress Autoptimize Configuration

WordPress Autoptimize Configuration

To prevent Autoptimize from minifying the JS snippet, take the following action:

Step 1: Open Autoptimize Settings


  1. Log in to your WordPress dashboard.

  2. Go to Settings ➡️ Autoptimize.

Step 2: Exclude the JavaScript Files

  1. Click on the "JS, CSS & HTML" tab.

  2. Scroll down to "Exclude scripts from Autoptimize".

  3. Add the JS snippet: plugin.nytsys.com

Step 3: Save and Clear Cache

  1. Click "Save Changes and Empty Cache".

  2. To clear the Autoptimize cache, hover over "Autoptimize" in the admin bar and click "Clear CSS/JS Cache".


Step 4: Preload the Cache

  1. Navigate to WP-Optimize ➡️Cache ➡️Preload

  2. Click the “Run now” button.

  3. Save the Changes.

It is important to clear and preload the cache, it will make the website much faster for the visitors. 

The specified JavaScript snippet will now be excluded from minification by Autoptimize. dasdas


    Submit a Ticket

      • Related Articles

      • WordPress LiteSpeed Cache Configuration

        If you need to exclude specific URIs from being cached by LiteSpeed Cache in WordPress, follow these easy steps: Step 1: Open LiteSpeed Cache Settings Log in to your WordPress dashboard. Navigate to LiteSpeed Cache ➡️ Cache. Step 2: Add the URI to ...
      • WordPress W3 Total Cache Configuration

        To ensure specific JS files are not minified by W3 Total Cache, follow these steps: 1. Access W3 Total Cache Settings: From your WordPress dashboard, navigate to Performance ➡️ Minify. 2. Navigate to the Advanced Section: Click the Advanced section. ...
      • WordPress WP Rocket Configuration

        In some cases, the Nitro Snippet JS may not function correctly due to secondary processing by third-party speed and optimization plugins, such as WP Rocket. To ensure Nitro Snippet JS works properly, you should configure WP Rocket to exclude its ...
      • WordPress WP Fastest Cache Configuration

        If you need to exclude specific URIs from being cached by WP Fastest Cache in WordPress, follow these simple steps: Step 1: Access WP Fastest Cache Settings Log in to WordPress: Start by logging into your WordPress admin dashboard. Navigate to WP ...
      • WordPress WP Super Cache Configuration

        If you need to exclude specific URIs from being cached by WP Super Cache in WordPress, follow these simple steps: Step 1: Access WP Super Cache Settings Log in to WordPress: Begin by logging into your WordPress admin dashboard. Navigate to WP Super ...