Cache settings
These are the most important settings for caching your content and where you need to start from.
General
Enable
Activates or disables the whole cache system of WordPress. Keep in mind that WordPress’s content optimization is controlled by the “Enable content processing” independently.
Early page processing (warming up)
When your pages are revalidated or deleted, they will be re-optimized right away, not just the first time they are accessed.
Supported Encodings
Here’s a list of the encodings that can be selected in which the server will serve the content. The “Uncompressed” option is always on because this is required by the data transfer standard.
- Gzip
- Brotli
- Deflate
- Compress
- Uncompressed
Data Compression
Uncompressed
If enough hosting space is available, then the data will be stored in uncompressed form, which will slightly speed up the delivery of content if the request also came without compression.
Brotli
If enough hosting space is available, then the data will be stored in compressed form, which will slightly speed up the delivery of content if the request also came without compression.
Zip
If the request came with GZip, Compress or Deflate encoding, then the content will be served without re-encoding as fast as possible. more so compression saves space for cached data.
Same parts separation
Your content is divided into parts (fragmentation), which are stored independently and allows for selection of parts that are identical in content. This contributes for significant savings in cache storage space on your hosting service, because many pages have the same parts, like comment block, header, footer, etc.
Optimize storage
Enables this mode.
Separators
Enable
Enables/disables 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.
After
Split content after the element.
Before
Split content before 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.
Headers
The following settings allow caching particular headers for example cookies, by adding them as a regular expression patterns. When the pattern matches the header will be added to the page’s cache. Here’s the pattern example of a header with a cookie wordpress_test_cookie which by default is already added:
@^set-cookie\s*:\s*wordpress_test_cookie\s*=@i