Helpdesk
/
Wp Edition

How to configure WP Rocket with My Agile Privacy

Caching plugins and optimization configurations, while enhancing web page loading speeds, may inadvertently affect the functionality of certain plugins if configured overly aggressively.

In particular, My Agile Privacy may face issues such as invalidated cookie blocking and script loading hindrances due to these settings. This article provides guidance on configuring WP Rocket to ensure compatibility with My Agile Privacy, thus avoiding such issues.

WP Rocket is a widely recognized and powerful caching plugin for WordPress, offering various features including page caching, file minification, deferred script loading, and database optimization. With appropriate settings, it can seamlessly integrate with My Agile Privacy, providing both speed and GDPR compliance.

 

Exclusion of My Agile Privacy CSS from optimizations

To ensure smooth functionality of the My Agile Privacy plugin, it's essential to exclude its CSS from minification, combination, and optimization in WP Rocket. You can achieve this by entering the following string into the exclusion fields of WP Rocket settings:

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

This string should be entered in both the "CSS excluded" field and the "CSS safelist" field.

 

Exclusion of JavaScript from My Agile Privacy

Similarly, you should exclude the JavaScripts used by My Agile Privacy from minification, combination, deferred loading, and deferred execution. To do this, enter the following strings into the exclusion fields of the WP Rocket settings:

/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

After entering these strings, ensure to save your changes. These exclusions should guarantee the proper functionality of My Agile Privacy.

Always remember to verify that your site is functioning correctly after adjusting any optimization or caching settings.

If you encounter any issues, consider refining your settings or seeking assistance from either our support service or WP Rocket's support team.

Navigazione rapida
rely on our experts for a professional installation service
a Formula Agile SRL project
VAT ID 04524510403 - REA: RN418884
Viale Medici 16/A, 47922 Rimini (RN) - Italy
Share capital 12'000€
PEC formulaagilesrl[at]legalmail.it
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 IAB Europe approved
My Agile Privacy

This site uses technical and profiling cookies. 

You can accept, reject, or customize the cookies by clicking the desired buttons. 

By closing this notice, you will continue without accepting. 

In addition, this site installs Google Analytics version 4 (GA4), Facebook Remarketing with anonymous data transmission via proxy. 

By giving your consent, the data will be sent anonymously, thus protecting your privacy.