WordPress WP-Optimize - Clean, Compress, Cache Configuration

WordPress WP-Optimize - Clean, Compress, Cache Configuration

If you need to exclude specific URIs from being cached by WP-Optimize - Clean, Compress, Cache in WordPress, follow these simple steps:

Step 1: Access WP-Optimize Cache Settings

  1. Log in to WordPress: Begin by logging into your WordPress admin dashboard.

  2. Navigate to WP-Optimize: In the left-hand menu, click on WP-Optimize ➡️ Cache.

Step 2: Configure Exclusions in the Advanced Tab


  1. Go to the Advanced Tab: Within the WP-Optimize Cache settings, click on the Advanced tab.

  2. Add the URI to Exclude: Locate the section labeled URLs to exclude from caching.

    • In the input field provided, enter the specific URI or part of the URI you wish to exclude from caching. For example, add plugin.nytsys.com to prevent caching for any URIs containing this string.

  3. Save Your Changes: After entering the URI, click the Save button to apply the exclusion rule.

Step 3: Clear or Purge the Cache

Clear the Cache: To ensure your changes take effect immediately, return to the WP-Optimize Cache page and click the Clear Cache or Purge Cache button. This will remove the old cached files and regenerate them based on your new settings.

It is important to clear the cache after making the changes to load the latest version of your website.

You're All Set!

The specified URI, such as plugin.nytsys.com, will now be excluded from caching, ensuring that any associated JS snippets or other content will function correctly on your site without being cached.