Advanced settingsAccelerator for WordPress

settings-Advanced

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.

  • Trying to always keep a content of ‘advanced-cache.php’ file in a right state

    It can be enabled in cases when file ‘advanced-cache.php’ can be periodically overwritten by other plugins or by server to prevent blocking of correct working of the product.

  • Normalize internal URLs

    If enabled, all internal (owned only given site) URLs will be adjusted according to the next mode:

    • protocol, host and path

      E.g. URLs /dir/ and //mysite.com/dir/ will be transformed to https://mysite.com/dir/.

    • host and path

      E.g. URLs /dir/ and https://mysite.com/dir/ will be transformed to //mysite.com/dir/.

    • path only

      E.g. URLs https://mysite.com/dir/ and //mysite.com/dir/ will be transformed to /dir/.

  • Process ‘If-Modified-Since’ request

    Specially processing ‘If-Modified-Since’ header request. If content is not changed it returns empty response and save server traffic.

  • Postponing of User Agent while updating

    Enables late applying User-Agent HTTP header for fixing errors on some servers.

  • Use different requests for asynchronous tasks execution

    If asynchronous tasks do not work via normal requests, changing this mode can help when there is e.g. some server/site security blocking of server requests to itself. You can try using these methods:

    • normal requests

      Ordinary network requests. It is by default.

    • local requests

      Using 127.0.0.1 as server address for requests. Can help when there is e.g. some external bot protection via CloudFlare etc.

    • internal root requests

      Using direct PHP file execution with creating special launch file ‘seraph-accel-re.php’ in the site’s root directory. Can help when there is some server/site security blocking of internal server requests.

    • internal requests

      Using direct PHP file execution. Can help when there is some server/site security blocking of internal server requests.

    • external Cron

      Using any external Cron to executing asynchronous tasks. There should be added three Cron jobs with every 1-minute interval:

      • https://mysite.com/?seraph_accel_at=M
      • https://mysite.com/?seraph_accel_at=TO
      • https://mysite.com/?seraph_accel_at=O

      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 – it will increase parallel processing capability. Particular amount can be calculated by how many optimizations can be processed by server per 1 minute.

      Here are several probable ways to setup Cron (on paid providers please check actual price on the related site):

      • The server’s Cron

        Please, refer to the hosting manual how to setup Cron tasks. If it is not available, please, use below methods.

      • Cron-Job.org (recommended)

        Unlimited tasks with 1-minute interval for free.

      • EasyCron.com

        Up to 5 tasks with 1-minute interval for $24 / year.

      • CronLess.com

        Unlimited tasks with 30-seconds interval for $27 / year.

      • CronJob.de

        Unlimited tasks with 1-minute interval for 47.88 EUR / year.

      • FastCron.com

        Up to 7 tasks with 30-seconds interval for $120 / year.

Task scheduler (Cron)#

  • Enable

    Enables or disables system Cron by setting the DISABLE_WP_CRON directive in wp-config.php.

    • Compensation on cached pages

      Forces Cron running to keep work of scheduled tasks. If hosting doesn’t support non-blocking request execution then /wp-cron.php request is made on frontend.

  • Use for asynchronous tasks execution

    If it is enabled, then /wp-cron.php file is used to make internal server requests for asynchronous tasks. Some hosting like GoDaddy can block such requests, so, it can be turned off and /index.php will be used.

Debug#

  • Enable

    Enables special mode to using page’s seraph_accel_proc parameter.

  • Enable HTTP trace header

    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).

  • Enable additional information

    Enables additional debug information in content processing while troubleshooting the site such as script and styles original names. Also, it adds some server request information into X-Seraph-Accel-Cache header.

  • Enable logging

    Enables logging of specified events below.

Test#

  • Content generation delay

    For testing influence of long content generation to the server and caching plugins.

  • Add random invisible content

    For testing influence of large content to the server and caching plugins.

Leave a Reply