{"id":9507,"date":"2022-08-29T16:11:19","date_gmt":"2022-08-29T16:11:19","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=9507"},"modified":"2024-12-23T12:31:00","modified_gmt":"2024-12-23T12:31:00","slug":"settings-groups-accel","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/accelerator\/settings-accel\/settings-groups-accel","title":{"rendered":"Content groups Accelerator for WordPress"},"content":{"rendered":"<p>\n  It is a list of content groups allowing changing <a href=\"#settings\">common settings<\/a> and setting <a href=\"#learn\">self-learning parameters<\/a> depend on specified <a href=\"#scope\">content\u2019s scope<\/a>. When groups are applied to particular page the first <a href=\"#scope\">scope<\/a> match will be chosen. Also, <a href=\"#scope\"><strong>scopes<\/strong><\/a><strong> matches independently<\/strong> for each <a href=\"#enable\">mode<\/a>.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/accelerator\/settings-groups-accel\/settings-groups-en.png\" alt=\"settings-Groups\" title=\"settings-Groups - Content groups\" \/>\n<\/p>\n<p>\n  Each group element contains settings described below.\n<\/p>\n<h2><a id=\"enable\"><\/a>Modes<br \/>\n<\/h2>\n<p>\n  Each enabled mode will apply the related settings below.\n<\/p>\n<ul>\n<li><a href=\"#settings\"><strong>Common settings\u2019 overriding<\/strong><\/a>\n<p style=\"text-align:left\">\n      Allows to set optimization settings that different from common ones. E.g. scripts loading delay can be set for to lower value for <a href=\"#views\">desktop only<\/a>.\n    <\/p>\n<\/li>\n<li><a href=\"#learn\"><strong>Self-learning<\/strong><\/a>\n<p style=\"text-align:left\">\n      Enables <a href=\".\/self-learning-accel\">self-learning technology<\/a> while optimization that increases its speed.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"name\"><\/a>Name<br \/>\n<\/h2>\n<p>\n  Optional group\u2019s name for simplify identification.\n<\/p>\n<h2><a id=\"scope\"><\/a>Scope<br \/>\n<\/h2>\n<p>\n  Actually, it is a filter to pages that will be included in particular group. Each of next filter is applied by logical \u2018and\u2019.\n<\/p>\n<ul>\n<li><a id=\"uris_incl\"><\/a><strong>URI paths<\/strong>\n<p style=\"text-align:left\">\n      Only matched pages\u2019 URLs will be included. An empty list means all pages. The syntax is the same as in <a href=\".\/settings-exclusions-accel#paths\">URI paths exclusions<\/a>. It can be added multiple strings at once via separating by commas.\n    <\/p>\n<\/li>\n<li><a id=\"patterns\"><\/a><strong>Content&#8217;s patterns<\/strong>\n<p style=\"text-align:left\">\n      Only pages that contain specified parts via their <a href=\".\/xpath-elements-selector-accel\">XPaths<\/a> selectors will be included. An empty list means any parts. It can be added multiple selectors at once by placing each on new line.\n    <\/p>\n<\/li>\n<li><a id=\"views\"><\/a><strong>Views<\/strong>\n<p style=\"text-align:left\">\n      Only selected <a href=\".\/settings-views-accel#devices\">devices\u2019 views<\/a> will be included. If no views are selected it means all views.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"_Hlk99665526\"><\/a><a id=\"settings\"><\/a>Common settings\u2019 overrides<br \/>\n<\/h2>\n<ul>\n<li><strong>Enable content optimization<\/strong>\n<p style=\"text-align:left\">\n      If disabled then no optimization will be made including below styles and scripts.\n    <\/p>\n<\/li>\n<li><strong>Scripts<\/strong>\n<p style=\"text-align:left\">\n      Enables overriding some of <a href=\".\/settings-scripts-accel#general\">scripts settings<\/a>.\n    <\/p>\n<\/li>\n<li><strong>Styles<\/strong>\n<p style=\"text-align:left\">\n      Enables overriding some of <a href=\".\/settings-styles-accel#not_critical\">styles settings<\/a>.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"learn\"><\/a>Self-learning<br \/>\n<\/h2>\n<p>\n  It enables <a href=\".\/self-learning-accel\">self-learning technology<\/a> while optimization that generates specific optimization\u2019s data for particular page structure and uses it in optimizations of other pages with the same structure.\n<\/p>\n<h3>\n  Processing<br \/>\n<\/h3>\n<ul>\n<li><strong>Standard processing<\/strong>\n<p style=\"text-align:left\">\n      Full scanning.\n    <\/p>\n<\/li>\n<li><strong>Fast processing<\/strong>\n<p style=\"text-align:left\">\n      Smart scanning. Significantly increases a speed of optimization but can produce larger (up to about 20%) <a href=\".\/styles-optimization-accel#opt_crit\">critical styles files<\/a>.\n    <\/p>\n<\/li>\n<li><strong>Ultra-fast processing<\/strong>\n<p style=\"text-align:left\">\n      The same as previous one but faster.\n    <\/p>\n<\/li>\n<\/ul>\n<h3>\n  Exclusions<br \/>\n<\/h3>\n<ul start=\"4\">\n<li><strong>Exclusions for pages&#8217; structure comparing<\/strong>\n<p style=\"text-align:left\">\n      Specifies <a href=\".\/xpath-elements-selector-accel\">XPath<\/a> selectors for pages\u2019 elements that won\u2019t be included in page structure. E.g. by default, <code>style<\/code>, <code>link<\/code>, <code>head<\/code> tags are already excluded. It can be added multiple selectors at once by placing each on new line.\n    <\/p>\n<\/li>\n<li><strong>Exclusions for pages&#8217; styles selector comparing<\/strong>\n<p style=\"text-align:left\">\n      Specifies <a href=\".\/regexp-accel\">regular expression<\/a> masks for omitting styles\u2019 selectors parts. If particular expression contains regular expression\u2019s catch group the only it will be omitted. E.g. for style selector <code>.class-1.class-2.class-3<\/code> expression <code>@\\.class-2@<\/code> will transform it to <code>.class-1.class-3<\/code> but expression <code>@\\.class-(2)@<\/code> will transform it to <code>.class-1.class-.class-3<\/code>. It can be added multiple expressions at once by placing each on new line.\n    <\/p>\n<\/li>\n<\/ul>\n<h3>\n  Debugging<br \/>\n<\/h3>\n<p>\n  While tuning up similar pages for self-learning it can be useful to check page\u2019s structure. If <a href=\".\/settings-advanced-accel#debug_enable\">debug mode is enabled<\/a> and enter additional parameter to the URL <code>seraph_accel_proc=1&amp;d=<strong>learn<\/strong><\/code> (e.g. <code>https:\/\/my-site.com\/?seraph_accel_proc=1&amp;d=<strong>learn<\/strong><\/code>) then there will be shown related specific information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is a list of content groups allowing changing common settings and setting self-learning parameters depend on specified content\u2019s scope. When groups are applied to particular page the first scope match will be chosen. Also, scopes matches independently for each mode. Each group element contains settings described below. Modes Each enabled mode will apply the&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":4812,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[816],"tags":[],"class_list":["post-9507","doc","type-doc","status-publish","hentry","category-accelerator"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/9507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/comments?post=9507"}],"up":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/4812"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/media?parent=9507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=9507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=9507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}