{"id":22733,"date":"2016-09-01T17:49:27","date_gmt":"2016-09-01T17:49:27","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs\/?p=22733"},"modified":"2020-02-04T22:23:34","modified_gmt":"2020-02-04T22:23:34","slug":"autoptimize-settings","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/autoptimize-settings\/","title":{"rendered":"Autoptimize Settings"},"content":{"rendered":"<p><strong>GD Booster can not be used with this plugin, we recommend using <a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener noreferrer\">WP Super Cache<\/a> to compliment Autoptimize <\/strong><br \/>\n<a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Autoptimize<\/a> is a popular html optimization plugin for WordPress and is now compatible with GeoDirectory. For Autoptimize and GeoDirectoy to work together properly there are a few settings you must enable.<\/p>\n<p>Under Settings&gt;Autoptimize&gt;:<br \/>\nThe settings below are the ones that worked best during our testing and are highly recommended to follow but your theme may require different settings.<\/p>\n<ol>\n<li><strong>Enable:<\/strong> Optimize HTML Code?<\/li>\n<li><strong>Enable:<\/strong> Optimize JavaScript Code?<\/li>\n<li><strong>Disable:<\/strong> Force JavaScript in?<\/li>\n<li><strong>Disable:<\/strong> Also aggregate inline JS?<\/li>\n<li>Exclude scripts from Autoptimize:<br \/>\n<code>s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,seal.js,jquery.js,frontend.min.js,quicktags.min.js,tinymce.min.js<\/code><\/li>\n<li><strong>Enable:<\/strong> Add try-catch wrapping?<\/li>\n<li><strong>Enable:<\/strong> Optimize CSS Code?<\/li>\n<li><strong>Enable:<\/strong> Generate data: URIs for images?<\/li>\n<li><strong>Enable:<\/strong> Remove Google Fonts?<\/li>\n<li><strong>Enable:<\/strong> Also aggregate inline CSS?<\/li>\n<li><strong>Disable:<\/strong> Inline and Defer CSS?<\/li>\n<li><strong>Enable:<\/strong> Inline all CSS?<\/li>\n<li>Exclude CSS from Autoptimize: admin-bar.min.css, dashicons.min.css<\/li>\n<\/ol>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-22738\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize.png\" alt=\"Autoptimize\" width=\"779\" height=\"1596\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize.png 779w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize-146x300.png 146w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize-768x1573.png 768w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/09\/Autoptimize-500x1024.png 500w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GD Booster can not be used with this plugin, we recommend using WP Super Cache to compliment Autoptimize Autoptimize is a popular html optimization plugin for WordPress and is now compatible with GeoDirectory. For Autoptimize and GeoDirectoy to work together properly there are a few settings you must enable. Under Settings&gt;Autoptimize&gt;: The settings below are &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wpgeodirectory.com\/docs\/autoptimize-settings\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Autoptimize Settings&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1670,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/22733"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1670"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=22733"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/22733\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=22733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=22733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=22733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}