Helpdesk
/
Wp Edition

Do you use another cache plugin?

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

However, some of these optimisations may conflict with My Agile Privacy, preventing it from functioning correctly. To ensure both high performance and full compliance, certain files must be excluded from the cache plugin optimisations. Let's see how to do this.

Excluding JavaScript Files

JavaScript files related to privacy management should not be minified or loaded in a deferred or delayed manner.
To ensure that your cookie banner works properly, follow these steps:

Access the settings of your cache plugin and locate the section related to optimising JavaScript files.
Find the options that manage the minification and deferred or delayed loading of scripts.

Enter the following list 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
Markup

Excluding CSS Files

To ensure that the cookie banner and other elements of privacy management are displayed correctly, you need to exclude some CSS files from optimisation.

In the cache plugin settings, look for the section on optimising CSS files.
Find the options for minifying and combining CSS.

Add the following list to the 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
Markdown

Depending on the cache plugin you use, you may need to disable the following options:

  • CSS minification
  • Combine CSS
  • Asynchronous loading of CSS

If, after following these instructions, you still have problems with the cookie banner or other privacy management features, you can always contact our support service or the support service of the plugin you are using.

By following these simple configurations, you can ensure that the privacy management system functions correctly without compromising the performance of your site.

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 IAB Europe approvedLogo 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.