If you need to exclude specific URIs from being cached by Perfmatters in WordPress, follow these simple steps to configure the settings correctly.
Log in to your WordPress dashboard.
Navigate to Settings in the left-hand menu.
Click on Perfmatters to open the settings panel.
In the Perfmatters settings panel, locate and click on the JavaScript tab.
In this section:
Add plugin.nytsys.com to both:
Excluded from Deferral
Excluded from Delay
If you are using a snippet plugin, you can streamline exclusions by checking the box for the snippet plugin under Quick Exclusions in the Delay section.
In the Perfmatters settings panel, locate and click on the Lazy Loading tab.
Add plugin.nytsys.com to the Exclude from Lazy Loading field.
After adding the exclusions, click the Save Changes button to apply your settings.
Once your changes are saved, clear your cache to ensure the new settings take effect immediately.
This step is important to ensure the excluded content functions correctly without caching issues.
That's it! The specified URI (plugin.nytsys.com) is now excluded from Perfmatters caching, deferral, and lazy loading. This ensures the designated JavaScript snippet or content will function properly on your WordPress site.