{"id":10156,"date":"2025-03-04T11:45:40","date_gmt":"2025-03-04T10:45:40","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/?post_type=helpdesk&#038;p=10156"},"modified":"2026-01-15T11:12:49","modified_gmt":"2026-01-15T10:12:49","slug":"do-you-use-another-cache-plugin","status":"publish","type":"helpdesk","link":"https:\/\/www.myagileprivacy.com\/en\/helpdesk\/do-you-use-another-cache-plugin\/","title":{"rendered":"Do you use another cache plugin?"},"content":{"rendered":"<p>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.<\/p>\n<p>However, some of these optimisations can conflict with My Agile Privacy<sup>\u00ae<\/sup>, causing issues with proper functioning. To ensure both high performance and full compliance, certain files must be excluded from cache plugin optimisations. Here\u2019s how to do it:<\/p>\n<h2><strong>Excluding JavaScript Files<\/strong><\/h2>\n<p>Privacy-related JavaScript files should not be minified or loaded in a deferred or delayed way.<br \/>\nTo ensure your cookie banner works correctly, follow these steps:<\/p>\n<ul>\n<li>Access the cache plugin settings and go to the section for JavaScript optimisation.<\/li>\n<li>Find the options for minification and deferred\/delayed script loading.<\/li>\n<li>Enter the following files in the exclusion fields:<\/li>\n<\/ul>\n<pre><code class=\"language-markup\" data-line=\"\">\/wp-content\/plugins\/myagileprivacy\/frontend\/js\/my-agile-privacy-frontend.js\n\/wp-content\/plugins\/myagileprivacy\/frontend\/js\/my-agile-privacy-frontend.min.js\n\/wp-content\/plugins\/myagileprivacy\/frontend\/js\/anime.js\n\/wp-content\/plugins\/myagileprivacy\/frontend\/js\/anime.min.js\n\/wp-content\/plugins\/myagileprivacy\/local-cache\/my-agile-privacy\/cookie-shield.js\n\/wp-content\/plugins\/myagileprivacy\/local-cache\/my-agile-privacy\/MyAgilePrivacyIabTCF.js\n\/wp-content\/plugins\/myagilepixel\/frontend\/js\/myagilepixel.js\n\/wp-content\/plugins\/myagilepixel\/frontend\/js\/myagilepixel.min.js\n\/wp-content\/plugins\/myagilepixel\/local-cache\/my-agile-pixel\/cookie-shield.js\n\/wp-content\/plugins\/myagilepixel\/local-cache\/my-agile-pixel\/myagilepixel.js<\/code><\/pre>\n<h3><strong>Excluding CSS Files<\/strong><\/h3>\n<p>Exclude the following CSS files from optimisation to ensure the cookie banner and privacy elements display correctly:<\/p>\n<ul>\n<li>In your cache plugin, go to the CSS optimisation section.<\/li>\n<li>Add these files to the CSS exclusion fields:<\/li>\n<\/ul>\n<pre><code class=\"language-markdown\" data-line=\"\">\/wp-content\/plugins\/myagileprivacy\/frontend\/css\/my-agile-privacy-frontend.min.css\n\/wp-content\/plugins\/myagileprivacy\/frontend\/css\/my-agile-privacy-notification-bar.min.css\n\/wp-content\/plugins\/myagileprivacy\/frontend\/css\/animate.min.css\n\/wp-content\/plugins\/myagilepixel\/frontend\/css\/mapx.css\n\/wp-content\/plugins\/myagilepixel\/frontend\/css\/mapx.min.css<\/code><\/pre>\n<p>Depending on your plugin, you may also need to disable:<\/p>\n<ul>\n<li>CSS minification<\/li>\n<li>Combine CSS<\/li>\n<li>Asynchronous CSS loading<\/li>\n<\/ul>\n<p>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.<\/p>\n<p>By following these simple steps, you can guarantee correct operation of your privacy management tools without sacrificing your website\u2019s performance.<\/p>\n","protected":false},"template":"","categoria-helpdesk":[26],"versione-plugin":[30],"class_list":["post-10156","helpdesk","type-helpdesk","status-publish","hentry","categoria-helpdesk-caching","versione-plugin-wp-edition"],"acf":{"helpdesk_in_evidenza":false,"helpdesk_ordine":"","elenco_faq_articolo":[{"domanda":"Why can cache plugins cause problems with My Agile Privacy\u00ae?","risposta":"Some cache plugin optimizations, such as minification, combining CSS\/JavaScript, and deferred script loading, can conflict with My Agile Privacy\u00ae, compromising its correct functioning."},{"domanda":"Which JavaScript files should be excluded from cache plugin optimizations?","risposta":"The JavaScript files to exclude are: my-agile-privacy-frontend.js, my-agile-privacy-frontend.min.js, anime.js, anime.min.js, cookie-shield.js, MyAgilePrivacyIabTCF.js, myagilepixel.js and myagilepixel.min.js, all located in their respective plugin folders."},{"domanda":"Which CSS files should be excluded from cache plugin optimizations?","risposta":"The CSS files to exclude are: my-agile-privacy-frontend.min.css, my-agile-privacy-notification-bar.min.css, animate.min.css, mapx.css and mapx.min.css, found in the plugins' frontend folders."},{"domanda":"Why is it important not to apply deferred loading to My Agile Privacy\u00ae JavaScript files?","risposta":"Privacy-related JS files must not be loaded in a deferred or delayed manner in order to ensure the correct functioning of the cookie banner."},{"domanda":"Which CSS features may need to be disabled in the cache plugin?","risposta":"Depending on the plugin being used, it may be necessary to disable CSS minification, CSS merging\/combining, and asynchronous CSS loading."},{"domanda":"What should be done if, after configuring the exclusions, the banner or privacy features still do not work correctly?","risposta":"If problems persist after the configurations, it is recommended to contact My Agile Privacy\u00ae support or the support team of the cache plugin you are using."}]},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/helpdesk\/10156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/helpdesk"}],"about":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/types\/helpdesk"}],"wp:attachment":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media?parent=10156"}],"wp:term":[{"taxonomy":"categoria-helpdesk","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categoria-helpdesk?post=10156"},{"taxonomy":"versione-plugin","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/versione-plugin?post=10156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}