Helpdesk
/
Wp Edition

Do you use another cache plugin?

Cache plugins are essential tools for boosting the performance of a WordPress site, reducing load times and optimising resources. They provide features like page caching, minification and combination of CSS and JavaScript files, deferred script loading, and image optimisation.

However, some of these optimisations can conflict with My Agile Privacy, causing issues with proper functioning. To ensure both high performance and full compliance, certain files must be excluded from cache plugin optimisations. Here’s how to do it:

Excluding JavaScript Files

Privacy-related JavaScript files should not be minified or loaded in a deferred or delayed way.
To ensure your cookie banner works correctly, follow these steps:

  • Access the cache plugin settings and go to the section for JavaScript optimisation.
  • Find the options for minification and deferred/delayed script loading.
  • Enter the following files in the exclusion fields:
/wp-content/plugins/myagileprivacy/frontend/js/my-agile-privacy-frontend.js
/wp-content/plugins/myagileprivacy/frontend/js/anime.js
/wp-content/local-cache/my-agile-privacy/cookie-shield.js
/wp-content/local-cache/my-agile-privacy/MyAgilePrivacyIabTCF.js
/wp-content/plugins/myagileprivacy/local-cache/my-agile-privacy/cookie-shield.js
/wp-content/plugins/myagileprivacy/local-cache/my-agile-privacy/MyAgilePrivacyIabTCF.js
/wp-content/plugins/myagilepixel/frontend/js/myagilepixel.js
/wp-content/local-cache/my-agile-pixel/cookie-shield.js
/wp-content/local-cache/my-agile-pixel/myagilepixel.js
/wp-content/plugins/myagilepixel/local-cache/my-agile-pixel/cookie-shield.js
/wp-content/plugins/myagilepixel/local-cache/my-agile-pixel/myagilepixel.js

Excluding CSS Files

Exclude the following CSS files from optimisation to ensure the cookie banner and privacy elements display correctly:

  • In your cache plugin, go to the CSS optimisation section.
  • Add these files to the CSS exclusion fields:
/wp-content/plugins/myagileprivacy/frontend/css/my-agile-privacy-frontend.css
/wp-content/plugins/myagileprivacy/frontend/css/my-agile-privacy-notification-bar.css
/wp-content/plugins/myagilepixel/frontend/css/mapx.css
/wp-content/plugins/myagileprivacy/frontend/css/animate.min.css

Depending on your plugin, you may also need to disable:

  • CSS minification
  • Combine CSS
  • Asynchronous CSS loading

If you still encounter issues with the cookie banner or other privacy functions, contact our support service or the support team for your cache plugin.

By following these simple steps, you can guarantee correct operation of your privacy management tools without sacrificing your website’s performance.

Quick Navigation
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
Logo CMP partner GoogleLogo CMP partner GoogleLogo CMP partner GoogleLogo IAB Europe approvedLogo IAB Europe approved
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.

Supported regulations: GDPR (EU and UK), nLPD / nFADP, PIPEDA, LGPD, CCPA / CPRA, CPA, CTDPA, DPDPA, MCDPA, MTCDPA, NDPA, NRS 603A, NHPA, NJDPA, OCPA, TIPA, TDPSA, UCPA, VCDPA.

Supported languages: Italian, English, French, German, Spanish, Portuguese, Dutch, Polish, and Greek.