{"id":9086,"date":"2023-07-20T11:59:55","date_gmt":"2023-07-20T09:59:55","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/how-to-configure-siteground-optimizer-with-my-agile-privacy\/"},"modified":"2026-01-02T13:44:31","modified_gmt":"2026-01-02T12:44:31","slug":"how-to-configure-siteground-optimizer-with-my-agile-privacy","status":"publish","type":"post","link":"https:\/\/www.myagileprivacy.com\/en\/how-to-configure-siteground-optimizer-with-my-agile-privacy\/","title":{"rendered":"How to configure Siteground Optimizer with My Agile Privacy\u00ae"},"content":{"rendered":"<p><strong>SiteGround\u2019s SG Optimizer<\/strong> plugin is a powerful yet user-friendly tool offering numerous features to boost your WordPress site\u2019s performance.<br \/>\nFor example, it allows you to minify, combine, and delay CSS and JS files\u2014helping reduce page size and speed up loading times.<\/p>\n<p>However, overly aggressive caching or optimization can <strong>compromise preemptive blocking and interfere with your site\u2019s GDPR compliance<\/strong>.<\/p>\n<p>You can safely optimize your site\u2019s speed and assets without affecting My Agile Privacy<sup>\u00ae<\/sup>\u2019s functionality by following these steps:<\/p>\n<p>First, from your WordPress admin panel, go to <strong><em>SG Optimizer &gt; Frontend<\/em><\/strong>.<\/p>\n<p>Make the following adjustments:<\/p>\n<h2>Exclude My Agile Privacy<sup>\u00ae<\/sup> CSS from Optimizations<\/h2>\n<p>To avoid conflicts with My Agile Privacy<sup>\u00ae<\/sup>, you need to exclude its CSS files from SG Optimizer\u2019s minification and combination.<\/p>\n<p>In the SG Optimizer settings, locate \u201cExclude from CSS minification.\u201d<br \/>\nA selection window will appear\u2014simply select the following files:<br \/>\n<em>my-agile-privacy-frontend.css<\/em> and <em>my-agile-privacy-notification-bar.css<\/em><br \/>\n\u2014as shown in the image below\u2014then press save.<br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7775\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-minificazione.png\" alt=\"\" width=\"916\" height=\"438\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-minificazione.png 916w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-minificazione-300x143.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-minificazione-768x367.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/p>\n<p>Similarly, you should exclude these same files from CSS combination. Change the \u201cExclude from CSS combination\u201d setting and select the same files:<br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7774\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-combinazione.png\" alt=\"\" width=\"918\" height=\"431\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-combinazione.png 918w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-combinazione-300x141.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-css-combinazione-768x361.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/p>\n<h2>Exclude My Agile Privacy<sup>\u00ae<\/sup> JavaScript<\/h2>\n<p>You also need to exclude My Agile Privacy<sup>\u00ae<\/sup>\u2019s JavaScript files from minification, combination, and deferred execution.<\/p>\n<p>In SG Optimizer, go to the \u201cJavascript\u201d tab under <em>SG Optimizer &gt; Frontend<\/em>.<\/p>\n<p>The exclusion process is similar to the one for CSS\u2014simply select the relevant JavaScript files in each of these options:<br \/>\n<strong>Exclude from JavaScript minification<\/strong><br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7777\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-minimizzazione.png\" alt=\"\" width=\"921\" height=\"420\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-minimizzazione.png 921w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-minimizzazione-300x137.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-minimizzazione-768x350.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><br \/>\n<strong>Exclude from JavaScript combination<\/strong><br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7776\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-combinazione.png\" alt=\"\" width=\"903\" height=\"421\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-combinazione.png 903w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-combinazione-300x140.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-combinazione-768x358.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" \/><br \/>\n<strong>Exclude from JS render-blocking defer<\/strong><br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7778\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-rinvio.png\" alt=\"\" width=\"910\" height=\"417\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-rinvio.png 910w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-rinvio-300x137.png 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2023\/07\/sgoptimizer-esclusione-js-rinvio-768x352.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>Always remember to save your changes.<\/p>\n<p>Following these exclusions should ensure that My Agile Privacy<sup>\u00ae<\/sup> runs smoothly alongside SG Optimizer.<\/p>\n<p>After any change to your optimization or caching settings, test your site thoroughly to ensure everything functions as expected.<\/p>\n<p>If you encounter issues, you may need to further adjust your settings or contact either our support or SiteGround\u2019s support service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SiteGround\u2019s SG Optimizer plugin is a powerful yet user-friendly tool offering numerous features to boost your WordPress site\u2019s performance. For example, it allows you to minify, combine, and delay CSS and JS files\u2014helping reduce page size and speed up loading times. However, overly aggressive caching or optimization can compromise preemptive blocking and interfere with your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8838,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-9086","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-help-en"],"acf":{"visibilita_box_autore":false,"autore_associato":null,"elenco_faq_articolo":null,"url_esterno":""},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/comments?post=9086"}],"version-history":[{"count":3,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9086\/revisions"}],"predecessor-version":[{"id":15126,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9086\/revisions\/15126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media\/8838"}],"wp:attachment":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media?parent=9086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categories?post=9086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/tags?post=9086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}