{"id":4814,"date":"2021-05-28T18:04:55","date_gmt":"2021-05-28T18:04:55","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=4814"},"modified":"2025-06-17T15:52:49","modified_gmt":"2025-06-17T15:52:49","slug":"settings-advanced-accel","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/accelerator\/settings-accel\/settings-advanced-accel","title":{"rendered":"Advanced settings Accelerator for WordPress"},"content":{"rendered":"<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/accelerator\/settings-advanced-accel\/settings-advanced-en.png\" alt=\"settings-Advanced\" title=\"settings-Advanced - Advanced settings\" \/>\n<\/p>\n<h2><a id=\"general\"><\/a>General<br \/>\n<\/h2>\n<ul>\n<li><strong>Enable default WordPress emoji icons<\/strong>\n<p style=\"text-align:left\">\n      Turn on this option to enable WordPress emoji icons if there is wrong displaying of them.\n    <\/p>\n<\/li>\n<li><a id=\"enable_cont_proc\"><\/a><strong>Enable content optimization<\/strong>\n<p style=\"text-align:left\">\n      Turn off this option if there is no need to use all content processing optimization features (scripts, styles, media and HTML). In particular, it is used while <a href=\".\/troubleshooting-accel\">troubleshooting<\/a> the site.\n    <\/p>\n<\/li>\n<li><strong>Trying to always keep a content of &#8216;advanced-cache.php&#8217; file in a right state<\/strong>\n<p style=\"text-align:left\">\n      It can be enabled in cases when file &#8216;advanced-cache.php&#8217; can be periodically overwritten by other plugins or by server to prevent blocking of correct working of the product.\n    <\/p>\n<\/li>\n<li><strong>Normalize internal URLs<\/strong>\n<p style=\"text-align:left\">\n      If enabled, all internal (owned only given site) URLs will be adjusted according to the next mode:\n    <\/p>\n<ul>\n<li><strong>protocol, host and path<\/strong>\n<p style=\"text-align:left\">\n          E.g. URLs <code>\/dir\/<\/code> and <code>\/\/mysite.com\/dir\/<\/code> will be transformed to <code>https:\/\/mysite.com\/dir\/<\/code>.\n        <\/p>\n<\/li>\n<li><strong>host and path<\/strong>\n<p style=\"text-align:left\">\n          E.g. URLs <code>\/dir\/<\/code> and <code>https:\/\/mysite.com\/dir\/<\/code> will be transformed to <code>\/\/mysite.com\/dir\/<\/code>.\n        <\/p>\n<\/li>\n<li><strong>path only<\/strong>\n<p style=\"text-align:left\">\n          E.g. URLs <code>https:\/\/mysite.com\/dir\/<\/code> and <code>\/\/mysite.com\/dir\/<\/code> will be transformed to <code>\/dir\/<\/code>.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Process &#8216;If-Modified-Since&#8217; request<\/strong>\n<p style=\"text-align:left\">\n      Specially processing &#8216;If-Modified-Since&#8217; header request. If content is not changed it returns empty response and save server traffic.\n    <\/p>\n<\/li>\n<li><strong>Postponing of User Agent while updating<\/strong>\n<p style=\"text-align:left\">\n      Enables late applying User-Agent HTTP header for fixing errors on some servers.\n    <\/p>\n<\/li>\n<li><strong>Use different requests for asynchronous tasks execution<\/strong><a id=\"cron\"><\/a>\n<p style=\"text-align:left\">\n      If asynchronous tasks do not work via <strong>normal requests<\/strong>, changing this mode can help when there is e.g. some server\/site security blocking of server requests to itself.\n    <\/p>\n<p style=\"text-align:left\">\n      You can try using these methods:\n    <\/p>\n<ul>\n<li><strong>normal requests<\/strong>\n<p style=\"text-align:left\">\n          Ordinary network requests. It is by default.\n        <\/p>\n<\/li>\n<li><strong>local requests<\/strong>\n<p style=\"text-align:left\">\n          Using 127.0.0.1 as server address for requests. Can help when there is e.g. some external bot protection via CloudFlare etc.\n        <\/p>\n<\/li>\n<li><strong>internal root requests<\/strong>\n<p style=\"text-align:left\">\n          Using direct PHP file execution with creating special launch file &#8216;seraph-accel-re.php&#8217; in the site\u2019s root directory. Can help when there is some server\/site security blocking of internal server requests.\n        <\/p>\n<\/li>\n<li><strong>internal requests<\/strong>\n<p style=\"text-align:left\">\n          Using direct PHP file execution. Can help when there is some server\/site security blocking of internal server requests.\n        <\/p>\n<\/li>\n<li><a id=\"ext_cron\"><\/a><strong>external Cron<\/strong>\n<p style=\"text-align:left\">\n          Using any external Cron to executing asynchronous tasks. There should be added three Cron jobs with <span style=\"text-decoration:underline\">every <\/span><span style=\"text-decoration:underline\">1-minute<\/span><span style=\"text-decoration:underline\"> interval<\/span>:\n        <\/p>\n<ul>\n<li><strong>https:\/\/mysite.com\/?seraph_accel_at=M<\/strong>\n<p style=\"text-align:left\">\n              Managing all asynchronous tasks.\n            <\/p>\n<\/li>\n<li><strong>https:\/\/mysite.com\/?seraph_accel_at=TO<\/strong>\n<p style=\"text-align:left\">\n              Execution of asynchronous tasks and optimizations.\n            <\/p>\n<\/li>\n<li><strong>https:\/\/mysite.com\/?seraph_accel_at=O<\/strong>\n<p style=\"text-align:left\">\n              Execution of optimizations.\n            <\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align:left\">\n          where https:\/\/mysite.com address should be replaced to needed site. If optimization is waiting long for starting, the last task can be added more times \u2013 it will increase parallel processing capability. Particular amount can be calculated by how many optimizations can be processed by server per 1 minute.\n        <\/p>\n<p style=\"text-align:left\"><strong>Note.<\/strong> Probably, may be required to use POST method instead of GET to breakthrough server cache.\n        <\/p>\n<p style=\"text-align:left\">\n          Here are several probable ways to setup Cron (on paid providers please check actual price on the related site):\n        <\/p>\n<ul start=\"4\">\n<li><strong>The server\u2019s Cron<\/strong>\n<p style=\"text-align:left\">\n              Please, refer to the hosting manual how to setup Cron tasks. If it is not available, please, use below methods.\n            <\/p>\n<\/li>\n<li><a href=\"https:\/\/cron-job.org\/\" rel=\"nofollow noopener\" target=\"_blank\"><strong>Cron-Job.org<\/strong><\/a> (recommended)\n<p style=\"text-align:left\">\n              Unlimited tasks with 1-minute interval <strong>for free<\/strong>.\n            <\/p>\n<\/li>\n<li><a href=\"https:\/\/www.easycron.com\/user\/register\" rel=\"nofollow noopener\" target=\"_blank\"><strong>EasyCron.com<\/strong><\/a>\n<p style=\"text-align:left\">\n              Up to 5 tasks with 1-minute interval for $24 \/ year.\n            <\/p>\n<\/li>\n<li><a href=\"https:\/\/cronless.com\/pricing\" rel=\"nofollow noopener\" target=\"_blank\"><strong>CronLess.com<\/strong><\/a>\n<p style=\"text-align:left\">\n              Unlimited tasks with 30-seconds interval for $27 \/ year.\n            <\/p>\n<\/li>\n<li><a href=\"https:\/\/www.cronjob.de\/preise\" rel=\"nofollow noopener\" target=\"_blank\"><strong>CronJob.de<\/strong><\/a>\n<p style=\"text-align:left\">\n              Unlimited tasks with 1-minute interval for 47.88 EUR \/ year.\n            <\/p>\n<\/li>\n<li><a href=\"https:\/\/www.fastcron.com\/#pricing\" rel=\"nofollow noopener\" target=\"_blank\"><strong>FastCron.com<\/strong><\/a>\n<p style=\"text-align:left\">\n              Up to 7 tasks with 30-seconds interval for $120 \/ year.\n            <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align:left\">\n      Also, there are additional options to above methods:\n    <\/p>\n<ul start=\"6\">\n<li><strong>Compatible non-blocking requests<\/strong>\n<p style=\"text-align:left\">\n          Used for &#8220;normal requests&#8221; and &#8220;local requests&#8221;. You can try to enable this if you have problems with requests.\n        <\/p>\n<\/li>\n<li><strong>Simple thread of optimization<\/strong>\n<p style=\"text-align:left\">\n          Using only one thread per optimizing page without separate controlling thread. It can be useful on hosting that have limits to parallel threads (like Kinsta).\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\n  Task scheduler (Cron)<br \/>\n<\/h2>\n<ul>\n<li><strong>Enable<\/strong>\n<p style=\"text-align:left\">\n      Enables or disables system<span style=\"font-size:12pt\"> <\/span>Cron<span style=\"font-size:12pt\"> <\/span>by setting the<span style=\"font-size:12pt\"> <\/span><code>DISABLE_WP_CRON<\/code> directive<a id=\"_Hlk93056923\"><\/a> in <code>wp-config.php<\/code>.\n    <\/p>\n<ul>\n<li><strong>Compensation on cached pages<\/strong>\n<p style=\"text-align:left\">\n          Forces Cron running to keep work of scheduled tasks. If hosting doesn\u2019t support non-blocking request execution then <code>\/wp-cron.php<\/code> request is made on frontend.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Use for asynchronous tasks execution<\/strong>\n<p style=\"text-align:left\">\n      If it is enabled, then <code>\/wp-cron.php<\/code> file is used to make internal server requests for asynchronous tasks. Some hosting like <a href=\"https:\/\/www.godaddy.com\/hosting\" rel=\"nofollow noopener\" target=\"_blank\">GoDaddy<\/a> can block such requests, so, it can be turned off and <code>\/index.php<\/code> will be used.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"debug\"><\/a>Debug<br \/>\n<\/h2>\n<ul>\n<li><a id=\"debug_enable\"><\/a><strong>Enable<\/strong>\n<p style=\"text-align:left\">\n      Enables special mode to using page\u2019s <a href=\".\/troubleshooting-accel#yourself\">seraph_accel_proc<\/a> parameter.\n    <\/p>\n<\/li>\n<li><a id=\"debug_enable_http_trace\"><\/a><strong>Enable HTTP trace header<\/strong>\n<p style=\"text-align:left\">\n      Just enables special headers in HTTP response to monitor correct working of the content processor (X-Seraph-Accel-Cont) and caching system (X-Seraph-Accel-Cache).\n    <\/p>\n<\/li>\n<li><strong>Enable additional information<\/strong>\n<p style=\"text-align:left\">\n      Enables additional debug information in content processing while <a href=\".\/troubleshooting-accel#yourself\">troubleshooting<\/a> the site such as script and styles original names. Also, it adds some server request information into X-Seraph-Accel-Cache header.\n    <\/p>\n<\/li>\n<li><a id=\"test\"><\/a><a id=\"debug_log\"><\/a><strong>Enable logging<\/strong>\n<p style=\"text-align:left\">\n      Enables logging of specified events below.\n    <\/p>\n<\/li>\n<\/ul>\n<h2>\n  Test<br \/>\n<\/h2>\n<ul>\n<li><strong>Content generation delay<\/strong>\n<p style=\"text-align:left\">\n      For testing influence of long content generation to the server and caching plugins.\n    <\/p>\n<\/li>\n<li><strong>Add random invisible content<\/strong>\n<p style=\"text-align:left\">\n      For testing influence of large content to the server and caching plugins.\n    <\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>General Enable default WordPress emoji icons Turn on this option to enable WordPress emoji icons if there is wrong displaying of them. Enable content optimization Turn off this option if there is no need to use all content processing optimization features (scripts, styles, media and HTML). In particular, it is used while troubleshooting the site&#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-4814","doc","type-doc","status-publish","hentry","category-accelerator"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/4814","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=4814"}],"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=4814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=4814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=4814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}