{"id":9029,"date":"2024-01-26T12:25:38","date_gmt":"2024-01-26T11:25:38","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/helpdesk\/how-to-configure-w3-total-cache-with-my-agile-privacy\/"},"modified":"2026-01-15T10:59:02","modified_gmt":"2026-01-15T09:59:02","slug":"how-to-configure-w3-total-cache-with-my-agile-privacy","status":"publish","type":"helpdesk","link":"https:\/\/www.myagileprivacy.com\/en\/helpdesk\/how-to-configure-w3-total-cache-with-my-agile-privacy\/","title":{"rendered":"How to Configure W3 Total Cache with My Agile Privacy\u00ae"},"content":{"rendered":"<p><strong>W3 Total Cache<\/strong> is a powerful tool for comprehensive cache management on WordPress. It offers features such as CSS\/JS minification to reduce page size and speed up loading.<\/p>\n<p>However, aggressive caching and optimization may <strong>compromise the preemptive blocking functions of My Agile Privacy<sup>\u00ae<\/sup>, potentially affecting GDPR compliance<\/strong>.<\/p>\n<p>To optimize speed while ensuring My Agile Privacy<sup>\u00ae<\/sup> works correctly, follow these simple steps:<\/p>\n<p>First, from your site's admin panel, go to: <b><em>Performance &gt; Minify<\/em><\/b>.<\/p>\n<p>On this page, focus on these fields:<br \/>\n- Never minify the following JS files<br \/>\n- Never minify the following CSS files<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7898\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/08\/W3-total-cache-settings.png\" sizes=\"(max-width: 900px) 100vw, 900px\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/08\/W3-total-cache-settings.png 900w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/08\/W3-total-cache-settings-300x95.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/08\/W3-total-cache-settings-768x242.png 768w\" alt=\"\" width=\"900\" height=\"284\" \/><\/p>\n<p><strong>For proper operation, exclude the following JavaScript files (one per line):<\/strong><\/p>\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<\/code><\/pre>\n<p><strong>And the following CSS files:<\/strong><\/p>\n<pre><code class=\"language-markup\" 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<\/code><\/pre>\n<h3>If you\u2019re also using My Agile Pixel, exclude the following files as well:<\/h3>\n<p><strong>JavaScript:<\/strong><\/p>\n<pre><code class=\"language-markup\" data-line=\"\">\/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<p><strong>CSS:<\/strong><\/p>\n<pre><code class=\"language-markup\" data-line=\"\">\/wp-content\/plugins\/myagilepixel\/frontend\/css\/mapx.css\n\/wp-content\/plugins\/myagilepixel\/frontend\/css\/mapx.min.css<\/code><\/pre>\n<p>Remember to save changes after setting these exclusions to ensure proper operation of My Agile Privacy<sup>\u00ae<\/sup> and My Agile Pixel.<\/p>\n<p>Always test your site after any caching or optimization changes.<\/p>\n<p>If you encounter any issues, you may need to further adjust settings or contact our <a href=\"https:\/\/www.myagileprivacy.com\/en\/contact-us\/\" target=\"_blank\" rel=\"noopener\">support team<\/a> or W3 Total Cache\u2019s support.<\/p>\n","protected":false},"template":"","categoria-helpdesk":[26],"versione-plugin":[30],"class_list":["post-9029","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 is it necessary to configure W3 Total Cache in a specific way for My Agile Privacy\u00ae?","risposta":"Overly aggressive cache and minification optimization can compromise preventive cookie blocking and therefore the site's GDPR compliance. By correctly configuring W3 Total Cache, high performance can be achieved without interfering with My Agile Privacy\u00ae."},{"domanda":"Where are the settings to exclude files from minification in W3 Total Cache?","risposta":"From the WordPress administration panel, go to Performance &gt; Minify, where you will find the fields 'Never minify the following JS files' and 'Never minify the following CSS files'."},{"domanda":"Which My Agile Privacy\u00ae JS files must be excluded from minification?","risposta":"The JS files to exclude are: my-agile-privacy-frontend.js, my-agile-privacy-frontend.min.js, anime.js, anime.min.js, cookie-shield.js and MyAgilePrivacyIabTCF.js, all located in the myagileprivacy plugin folder."},{"domanda":"Which My Agile Privacy\u00ae CSS files must be excluded from minification?","risposta":"The CSS files to exclude include: my-agile-privacy-frontend.min.css, my-agile-privacy-notification-bar.min.css, animate.min.css, my-agile-privacy-frontend.css and my-agile-privacy-notification-bar.css, all located in the plugin's frontend\/css folder."},{"domanda":"If My Agile Pixel is also used, which additional files must be excluded from minification?","risposta":"For My Agile Pixel, the following JS files must be excluded from minification: myagilepixel.js, myagilepixel.min.js, cookie-shield.js and myagilepixel.js in the local-cache. For CSS, mapx.css and mapx.min.css must be excluded."},{"domanda":"What should be done after saving the changes to the W3 Total Cache configuration?","risposta":"After saving the changes, it is recommended to test the site to ensure that My Agile Privacy\u00ae and My Agile Pixel are working correctly. If any issues arise, you can try adjusting other settings or contact My Agile Privacy\u00ae support or W3 Total Cache support."}]},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/helpdesk\/9029","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=9029"}],"wp:term":[{"taxonomy":"categoria-helpdesk","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categoria-helpdesk?post=9029"},{"taxonomy":"versione-plugin","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/versione-plugin?post=9029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}