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.
Clear Cache (Recommended):
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.