{"id":9023,"date":"2024-01-26T12:22:24","date_gmt":"2024-01-26T11:22:24","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/helpdesk\/how-to-configure-siteground-optimizer-with-my-agile-privacy\/"},"modified":"2026-01-02T10:48:01","modified_gmt":"2026-01-02T09:48:01","slug":"how-to-configure-siteground-optimizer-with-my-agile-privacy","status":"publish","type":"helpdesk","link":"https:\/\/www.myagileprivacy.com\/en\/helpdesk\/how-to-configure-siteground-optimizer-with-my-agile-privacy\/","title":{"rendered":"How to configure Siteground Speed Optimizer with My Agile Privacy\u00ae"},"content":{"rendered":"<p><strong>SiteGround's SG Optimizer<\/strong> \/ <strong>Speed Optimizer<\/strong> plugin is a user-friendly yet powerful tool for improving your WordPress site's performance.<br \/>\nIt features options for minifying, combining, and delaying the loading of CSS and JS files to reduce page size and speed up site loading.<\/p>\n<p>However, overly aggressive caching and optimization can <strong>interfere with preemptive blocking and jeopardize GDPR compliance<\/strong>.<br \/>\nTo optimize speed without affecting My Agile Privacy<sup>\u00ae<\/sup>, follow these steps:<\/p>\n<p>First, from your site's admin panel, go to <strong><em>SG Optimizer &gt; Frontend<\/em><\/strong>.<\/p>\n<h2>Exclusion of My Agile Privacy<sup>\u00ae<\/sup> CSS from Optimizations<\/h2>\n<p>To ensure My Agile Privacy<sup>\u00ae<\/sup> works correctly, exclude its CSS files from SG Optimizer's minification and combination.<\/p>\n<ul>\n<li>Adjust the \"Exclude from CSS minification\" setting. Open the selection menu from <em>Frontend &gt; Cache<\/em> and choose the relevant files: <strong>my-agile-privacy-frontend.css<\/strong> and <strong>my-agile-privacy-notification-bar.css<\/strong>. Save your changes.<\/li>\n<li>For proper operation, also exclude these files from CSS combination by using the \"Exclude from CSS combination\" option, selecting the same files, and saving again.<\/li>\n<\/ul>\n<h2>Exclusion of My Agile Privacy<sup>\u00ae<\/sup> JavaScript<\/h2>\n<p>Similarly, you must exclude My Agile Privacy<sup>\u00ae<\/sup>\u2019s JavaScript files from minification, combination, and deferred execution.<\/p>\n<ul>\n<li>Go to the \"JavaScript\" tab under <em>Speed Optimizer options &gt; Frontend<\/em>.<\/li>\n<li>Add the necessary exclusions in each of the following settings:\n<ul>\n<li><strong>Exclude from JavaScript minimization<\/strong><\/li>\n<li><strong>Exclude from the combination of JavaScript<\/strong><\/li>\n<li><strong>Exclude from JS display block referral<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Select the relevant My Agile Privacy<sup>\u00ae<\/sup> files in each case and be sure to save your changes.<\/p>\n<p>These exclusions should ensure that My Agile Privacy<sup>\u00ae<\/sup> functions as intended.<\/p>\n<p>After adjusting your optimization or caching settings, always verify proper site operation.<br \/>\nIf you continue to experience issues, further settings may need adjustment, or you can contact <a href=\"https:\/\/www.myagileprivacy.com\/en\/contact-us\/\" target=\"_blank\" rel=\"noopener\">our support service<\/a> or SiteGround's support for assistance.<\/p>\n","protected":false},"template":"","categoria-helpdesk":[26],"versione-plugin":[30],"class_list":["post-9023","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 SG Optimizer for compatibility with My Agile Privacy\u00ae?","risposta":"An overly aggressive optimization configuration of SG Optimizer can prevent the correct preventive blocking of cookies and invalidate GDPR compliance. This is why it is necessary to exclude My Agile Privacy\u00ae files from certain optimization operations."},{"domanda":"Which My Agile Privacy\u00ae CSS files must be excluded from minification and combination?","risposta":"The CSS files to exclude are: my-agile-privacy-frontend.css and my-agile-privacy-notification-bar.css. They must be excluded from both CSS minification and CSS combination."},{"domanda":"Where are the settings to exclude CSS files in SG Optimizer?","risposta":"The settings are located in the administration panel, by going to SG Optimizer &gt; Frontend &gt; CSS. From there you can configure the 'Exclude from CSS minification' and 'Exclude from CSS combination' options."},{"domanda":"Which JavaScript exclusions are required for My Agile Privacy\u00ae?","risposta":"My Agile Privacy\u00ae JavaScript files must be excluded from three options: 'Exclude from JavaScript minification', 'Exclude from JavaScript combination' and 'Exclude from render-blocking JS deferral'. The settings are located in the 'Javascript' tab of Speed Optimizer &gt; Frontend."},{"domanda":"What should be done after modifying cache or optimization settings?","risposta":"After every change to cache or optimization settings, it is always recommended to verify that everything works correctly. If problems arise, you can further adjust the settings or contact My Agile Privacy\u00ae or SiteGround support."},{"domanda":"Is it necessary to save changes after each modification in SG Optimizer settings?","risposta":"Yes, the article explicitly reminds you to always save changes after every modification made in SG Optimizer settings."}]},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/helpdesk\/9023","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=9023"}],"wp:term":[{"taxonomy":"categoria-helpdesk","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categoria-helpdesk?post=9023"},{"taxonomy":"versione-plugin","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/versione-plugin?post=9023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}