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:
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:
/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
Exclude the following CSS files from optimisation to ensure the cookie banner and privacy elements display correctly:
/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:
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.