Cache settingsAccelerator for WordPress

One of the most important settings blocks for the WordPress cache system.

settings-Cache

General

  • Enable

    Enables or disables the whole WordPress cache system. Note that WordPress content optimization is controlled by the ‘Enable content processing’ option independently.

  • Lazy revalidation

    Allows updating the content in the background without being noticed by users and search engines, while maintaining the maximum speed of the pages. Very relevant to entered by Google regularly checking pages for speed in the Search Console.

Revalidation

  • Revalidate posts when changed

    The posts will be updated automatically when they are changed.

  • Time to live for auto-revalidation

    Not earlier than the expiration of this time after the last change of the content, it will be forcibly updated. You can turn off this option by setting everywhere 0.

  • Time to live for cleanup

    Not earlier than the expiration of this time after the last change of content, it will be completely removed by using the ‘Cleanup’ function to decrease cache storage space. If there is no need to save space, it can be simply turned off by setting everywhere 0.

Accepted encodings

Here can be specified the encodings in which the server will serve the content. ‘Uncompressed’ is always on because this is required by the data transfer standard.

  • Brotli
  • GZip
  • Deflate
  • Compress
  • Uncompressed

Data compression

  • Brotli

    If there is enough hosting space, then the data can be stored in this compressed form, which will slightly speed up the delivery of content if the request came with the same compression.

  • Zip

    If the request came with GZip, Deflate or Compress encoding, then the content will be served without re-encoding as quickly as possible. Also, compression saves space for cached data.

  • Uncompressed

    If there is enough hosting space, then the data can be stored in uncompressed form, which will slightly speed up the delivery of content if the request also came without compression.

Same parts separation

The content is divided into parts, which are stored independently and allows to select the parts that are identical in content. This contributes to significant savings in cache storage space on the hosting, since many pages have the same parts, such as header, footer, comment block, etc.

  • Optimize storaging

    Enables this mode.

  • Separators
    • Enable

      Enables/disables a specific separator for easy customization, so as not to delete an element.

    • Element(s) XPath selector

      One or more elements can be specified through an XPath selector.

    • Before

      Split content before the element.

    • After

      Split content after the element.

The division into parts can be checked with the ‘Enable’ debugging option enabled and loading the checked page with the ?seraph_accel_proc=1 parameter. In the page HTML code, we need to search for special separating elements <! – seraph-accel-cont-sep -> and check their location in accordance with the specified settings.

Leave a Reply