Helpdesk
/
Wp Edition

How to configure WP Rocket with My Agile Privacy

Caching plugins and optimization configurations, while boosting your site’s speed, can sometimes interfere with other plugins if set too aggressively.

For My Agile Privacy, this can lead to issues like invalidated cookie blocking and script loading problems. Here’s how to configure WP Rocket for optimal compatibility so you get both speed and GDPR compliance.

Excluding My Agile Privacy CSS from optimizations

To ensure My Agile Privacy functions correctly, exclude its CSS from minification, combination, and other optimizations in WP Rocket.
Add the following lines to both the “CSS Excluded” and “CSS Safelist” fields in WP Rocket’s settings:

/wp-content/plugins/myagileprivacy/frontend/css/(.*).css
/wp-content/plugins/myagilepixel/frontend/css/(.*).css

Excluding My Agile Privacy JavaScript

Also, exclude the following JavaScript paths from minification, combination, deferred loading, and deferred execution:

/wp-content/plugins/myagileprivacy/frontend/(.*).js
/wp-content/plugins/myagilepixel/frontend/(.*).js
/wp-content/local-cache/my-agile-pixel/(.*).js
/wp-content/local-cache/my-agile-privacy/(.*).js
/wp-content/plugins/myagilepixel/local-cache/my-agile-pixel/(.*).js
/wp-content/plugins/myagileprivacy/local-cache/my-agile-privacy/(.*).js

Paste these in the relevant JavaScript exclusion fields of WP Rocket.

Always remember to save your changes after setting these exclusions. These configurations should guarantee that My Agile Privacy works as intended.

After making changes, always check your website to ensure everything works properly.

In some cases, you may need to disable “defer javascript execution” in the Optimization > Javascript files section if you notice further issues.

For any questions or issues, you can consult our support or reach out to WP Rocket’s support team.

Navigazione rapida
rely on our experts for a professional installation service
a Formula Agile SRL project
COE / TAX ID 31366
Via Tre Settembre, 99 - 47891 Dogana - San Marino - RSM
Share capital 26'000€
For assistance: info[at]myagileprivacy.com
GDPR and privacy present complexities that extend beyond achieving website compliance. Compliance obligations span across all business aspects and necessitate expert analysis.
When it comes to implementing Banners and Policies, trust My Agile Privacy—the only solution that excludes unnecessary implementations not mandated by regulations.
Logo CMP partner GoogleLogo CMP partner GoogleLogo CMP partner GoogleLogo IAB Europe approvedLogo IAB Europe approved