Exclude Poper from WP Rocket (WordPress)

Exclude Poper from WP Rocket (WordPress)

Poper relies on specific JavaScript files to function effectively. While WP Rocket is a powerful caching plugin, it might inadvertently interfere with these scripts. This guide will show you how to exclude Poper's essential files from WP Rocket's caching mechanisms, guaranteeing optimal performance for your Poper popups.

Steps:

Access Your WordPress Dashboard:

Log in to your WordPress admin panel and navigate to the main dashboard.

Open WP Rocket Settings:


From the left-hand sidebar menu, locate "WP Rocket" and click on it to access the plugin's settings.

Go to File Optimization:


Within the WP Rocket settings, navigate to the "File Optimization" tab. This section manages how WP Rocket handles various website resources, including JavaScript files.

Exclude Poper Scripts:


Look for three separate boxes labeled "Minify," "Load Deferred," and "Delay Execution." These options control how JavaScript files are processed and loaded. In each of these boxes, paste the following text: app.poper.ai

Save Changes:


Once you've added the exclusion for app.poper.ai in all three boxes, click the "Save" button to apply the changes.
To ensure a clean slate, it's recommended to clear WP Rocket's existing cache. Navigate to the "WP Rocket" tab in the sidebar menu again and click on "Dashboard."

Clear Cache, Preload Cache, and Purge OPCache: On the WP Rocket dashboard, you'll find three buttons: "Clear Cache," "Preload Cache," and "Purge OPCache." Click on all three buttons to clear the existing cache, preload a fresh version of your website without Poper scripts being cached, and purge any cached data from the OPCache plugin (if applicable).

Congratulations! By following these steps, you've successfully excluded Poper's essential JavaScript files from WP Rocket's caching. This guarantees that your Poper popups will function as intended without any caching interference.

Additional Notes:

  • If you encounter any issues after implementing these steps, it's recommended to deactivate the "Minify" option for JavaScript files within WP Rocket's File Optimization settings.
  • Remember to clear WP Rocket's cache whenever you make significant changes to your Poper popups or settings to ensure the latest scripts are loaded correctly.

    • Related Articles

    • Clearing Cache After Installing Poper for WordPress

      Congratulations on installing Poper on your WordPress website! To guarantee that Poper functions optimally, it's crucial to clear your website's cache after the installation process. Here's a quick guide to help you with this step: Understanding ...
    • WordPress

      This guide will show you how to install Poper on your WordPress website, allowing you to create lead-capturing popups that enhance your marketing efforts. Prerequisites: A Poper account (free plan available) A WordPress website Steps: Create a New ...
    • Excluding Poper from NitroPack Cache

      After installing Poper on your WordPress website with NitroPack, it's essential to exclude Poper's JavaScript file (poper.js) from caching. This ensures Poper always loads the latest version, preventing conflicts with cached data and guaranteeing ...
    • How to Install / Integrate Poper in Launchcart?

      Integrating Poper with Launchcart is a straightforward process. Follow these steps to add your Poper popups to your Launchcart store: Log in to Poper Access your Poper account using your credentials. Within your Dashboard you can go to "Embed Poper" ...
    • BigCommerce

      This guide will show you how to install Poper on your BigCommerce website, allowing you to create engaging popups that capture leads and boost conversions. Prerequisites: A Poper account (free plan available) A BigCommerce store Steps: Create a New ...