Title: Servebolt Optimizer
Author: Servebolt
Published: <strong>ޖެނުއަރީ 15, 2018</strong>
Last modified: އޭޕްރިލް 1, 2026

---

Search plugins

![](https://ps.w.org/servebolt-optimizer/assets/banner-772x250.png?rev=3250974)

![](https://ps.w.org/servebolt-optimizer/assets/icon-256x256.png?rev=3250974)

# Servebolt Optimizer

 By [Servebolt](https://profiles.wordpress.org/servebolt/)

[Download](https://downloads.wordpress.org/plugin/servebolt-optimizer.3.6.3.zip)

 * [Details](https://dv.wordpress.org/plugins/servebolt-optimizer/#description)
 * [Reviews](https://dv.wordpress.org/plugins/servebolt-optimizer/#reviews)
 *  [Installation](https://dv.wordpress.org/plugins/servebolt-optimizer/#installation)
 * [Development](https://dv.wordpress.org/plugins/servebolt-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/servebolt-optimizer/)

## Description

The Servebolt Optimizer plugin adds functionality to implement Servebolt’s best 
practices for WordPress. This includes database optimizations, errorlog review, 
automatic cache purging, automatic image optimization and resizing, performance 
recommendations, and support for down stream HTML caching.

Specifically, Servebolt Optimizer does two things for your site:

 1. It connects your [WordPress hosted](https://servebo.lt/e3ke3) or [WooCommerce hosted](https://servebo.lt/724lz)
    Servebolt site to your [Servebolt Admin Panel](https://servebo.lt/pf3hu).
 2. Its features implement Servebolt’s best practices for performance. These best practizes
    include database optimizations, error log review, automatic cache purging, automatic
    image optimization/resizing, performance recommendations and support for down stream
    HTML caching.

This project is maintained on [Github](https://servebo.lt/sog).

### Features

 * Configures HTML caching to speed up your site (**Servebolt clients only**)
 * Integrates with [Accelerated Domains](https://servebo.lt/4c9dw) (**Servebolt 
   clients only**)
 * Rewrite headers to allow down stream HTML caching (**Servebolt clients only**)
 * View Apache/PHP error log (**Servebolt clients only**)
 * Database optimization – Convert tables to InnoDB
 * Database optimization – Add performance improving indexes
 * Automatic cache purge for Cloudflare and Accelerated Domains
 * Recommendations on additional performance improvements
 * Multi-site support
 * WP CLI support
 * Cloudflare Image Resize-support (beta feature)
 * WP Rocket compatability (**Servebolt clients only**)

Read more about the plugin and all its features in our [Help Center](https://servebo.lt/servebolt-optimize-documentation).

### Accelerated Domains

The integration with our revolutionairy add-on performance and security enhancing
service [Accelerated Domains](https://servebo.lt/4c9dw) is made possible by Servebolt
Optimizer. Installing the Servebolt Optimizer will provide the required HTTP headers
to make use of Accelerated Domains.

### Automatic purge of Cloudflare cache

Servebolt Optimizer supports the most complete solution for Cloudflare cache purging.
The HTML Cache is automatically purged when any post type or term has been updated.
You can also purge directly from the admin bar. This Cloudflare integration supports
both the use of API key and API token authentication when communicating with the
Cloudflare API.

### HTML Caching

This plugin rewrites HTTP headers of HTML to allow for HTML Caching, and for the
browser to cache HTML. HTML Caching may introduce all sorts of problems for end 
users, so installation and testing should be performed by a professional.

### Configuration

This plugin can be controlled via the WordPress Dashboard or WP CLI. Additionally
there are various filters and PHP constants at your disposal.

### Filter and constant reference

The plugin has various filters and PHP constants that allows third-party developers
to alter the behaviour of the plugin. Please read the article [Filters and PHP constants](https://servebo.lt/servebolt-optimizer-filters-and-php-constants)
in our help center to learn more.

### Testing

We test against the current production version of WordPress and the next beta/development
version

## Installation

Navigate to your WordPress Dashboard > Plugins > Add New and then search for **Servebolt**
and follow instructions.

Alternatively, you can also install Servebolt Optimizer via sFTP or WP CLI:

With sFTP:

 1. Download this plugin and unzip
 2. Upload servebolt-optimizer folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Navigate to Servebolt > Performance Optimizer and run optimizations if necessary

With WP-CLI:

 1. Log in to your site with SSH
 2. cd to your sites root wordpress folder
 3. Run `wp plugin install servebolt-optimizer --activate`
 4. Run optimizations `wp servebolt db optimize`

Run `wp help servebolt` to see all the available commands that can configure the
plugin.

## FAQ

### Will Servebolt Optimizer plugin make my site faster?

The Servebolt Optimizer plugin is primarily designed to make best use of our [WordPress hosting](https://servebo.lt/e3ke3)
or [WooCommerce hosting](https://servebo.lt/724lz). Its database optimizing feature
does indeed help in making your database faster and thus your site.

### Can I install this plugin if I’m not a Servebolt client?

Yes, you can. The database optimizations are beneficial for everyone as well as 
the Cloudflare cache purge options. You would miss out on the [fastest WordPress hosting out there](https://servebo.lt/5xbqg),
but you can use it on a non-Servebolt site.

### What if I discover a bug?

If you’re a Servebolt client, please reach out to our Support Team and we’ll be 
happy to help you out there. Alternatively, you can create a support forum request
[here](https://wordpress.org/support/plugin/servebolt-optimizer/).

## Reviews

![](https://secure.gravatar.com/avatar/5142cce917d013f6ebf582bb91e25dca81dcff4cd76d81caa3900b75b44a2444?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9387/)󠁿

 [ingarb](https://profiles.wordpress.org/ingarb/) ސެޕްޓެމްބަރ 24, 2024

Great optimization plugin for Servebolt users!

![](https://secure.gravatar.com/avatar/3e08228deb5e6fb3c4363cb718b0d0ca2db0b8c4b6c50050211019318668c2ef?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-7294/)󠁿

 [ljgarnes](https://profiles.wordpress.org/ljgarnes/) އޯގަސްޓް 17, 2021

This Plugin is the awesome! It works great and optimizes the DB on the fly. It has
helped tremendously with website speed. I’ve used it on over 20 websites so far!

![](https://secure.gravatar.com/avatar/b31331326848163f891c5aed0f9286851f1f4a7e061dee35ba549813f1da00d3?
s=60&d=retro&r=g)

### 󠀁[The best & what was need!](https://wordpress.org/support/topic/the-best-what-was-need/)󠁿

 [blueprintmarketing](https://profiles.wordpress.org/blueprintmarketing/) އޭޕްރިލް
6, 2020

CloudFlare cache purge & cache purge is now in the plugin so is The database optimization
with this plugin is a unique feature, that is a must-have for all WordPress websites
that need speed. No need for wp rocket with is Database optimization – Convert tables
to InnoDB Database optimization – Add performance improving indexes Automatic Cloudflare
cache purge Recommendations on additional performance improvements Rewrite headers
to allow down stream full page caching (Servebolt clients only) View Apache/PHP 
error log (Servebolt clients only) Multisite support WP CLI support

![](https://secure.gravatar.com/avatar/ccc6a7ad25ce6ce6187abf30a4c772e11e2ef7f42b46a73320e4cd4f1a77fd9b?
s=60&d=retro&r=g)

### 󠀁[Easily add indexes](https://wordpress.org/support/topic/easily-add-indexes/)󠁿

 [Liew Cheon-Fong](https://profiles.wordpress.org/lcf/) މާރޗް 10, 2019

easily add indexes into wp_options and wp_postmeta, which otherwise need to use 
MySQL queries.

![](https://secure.gravatar.com/avatar/b7dac534fa86497881cf06f18f528ef76c02cc9991d2ac1cd8bc78592a04ec44?
s=60&d=retro&r=g)

### 󠀁[Unique optimization plugin](https://wordpress.org/support/topic/unique-optimization-plugin/)󠁿

 [Jonathan Sulo](https://profiles.wordpress.org/jonathansulo/) ޖޫން 29, 2018

The database optimization with this plugin is a unique feature, that is a must-have
for all WordPress websites that needs speed. I really like the security features
as well. And the Servebolt specific options are great as a Servebolt customer.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/)

## Contributors & Developers

“Servebolt Optimizer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Servebolt ](https://profiles.wordpress.org/servebolt/)
 *   [ Thomas Audunhus ](https://profiles.wordpress.org/audunhus/)
 *   [ erlendeide ](https://profiles.wordpress.org/erlendeide/)
 *   [ Andrew Killen ](https://profiles.wordpress.org/andrewkillen/)

“Servebolt Optimizer” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/servebolt-optimizer/contributors)
for their contributions.

[Translate “Servebolt Optimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/servebolt-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/servebolt-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/servebolt-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/servebolt-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/servebolt-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.6.3

 * Further improvements on WooCommerce limited purge featured added in 3.6.2. There
   is now options to limit Cache tag purging for Shop Page, Post archives, Product
   categories, Term, and other public taxonomy pages

#### 3.6.2

 * New (Accelerated Domains): Introduced “WooCommerce homepage purge” in Cache  
   Cache Settings (disabled by default). Automatically purges the homepage only 
   on product create, delete, or out-of-stock events.

#### 3.6.1

Variable Edge Caching (Requires Accelerated Domains)
 We’ve introduced support for
Vary Headers Caching, unlocking smarter edge caching with Accelerated Domains. It
allows cache separation at the edge based on specific request headers, enabling 
personalized content delivery without sacrificing cache performance. Instead of 
serving one generic cached version to every visitor, your site can now cache and
deliver the right version instantly — without bypassing cache or adding backend 
complexity. This means: Personalized experiences at full edge speed Higher cache
hit ratios No performance trade-offs New Cache Variation Options Available under:
Servebolt Optimizer  Cache  Cache Settings (Visible when Accelerated Domains is 
enabled) You can now vary cache based on: Device (User-Agent) Automatically separates
cache for Mobile, Tablet, and Desktop visitors.

Browser Language (Accept-Language)
 Serves the correct language version based on
the visitor’s primary browser setting.

Visitor Country (X-Origin-Country)
 Enables country-specific content, pricing, or
campaigns — fully cached at the edge.

These variations can be enabled individually or combined, depending on your site’s
needs.
 New: Purge PHP OPcache Button Added a dedicated “Purge PHP OPcache” button
directly in the WordPress admin. This allows you to clear PHP OPcache instantly 
without SSH access or manual intervention — making deployments and troubleshooting
faster and easier.

#### 3.5.59

 * Bugfix: clear-site-data header should now always be sent no matter the browser
   type
 * Bugfix: Menu Optimizer – Added a guard so the cache-indicator comment isn’t appended
   when the cached payload isn’t a plain string or is already serialized, preventing
   Timber’s unserialize() warning etc.

#### 3.5.58

 * Error Log Viewer: Grouped errors with a smart, tabbed PHP/HTTP overview. Automatic
   level selection (Fatal  Error  All), level chips with counters, strict 2,500-
   line scan, and pagination options (100/250/500). Enhanced support for Servebolt
   Linux 8 log format, a subtle “Copy full error + trace” link, and a refined toolbar.

#### 3.5.57

 * Bugfix: fixed slow cache clear on chrome browsers, and enabled cache clear on
   firefox correctly
 * New Feature: Option for cloudflare direct communicaitons to work with Cache-Tags
   for purging. This enhances perfomance of those that have a cloudflare plan on
   Servebolt.

#### 3.5.56

 * Bugfix: fixed malformed http response headers when selecting 0 seconds for specific
   post type cache TTL for Accelerated Domains.

#### 3.5.55

 * Confirmed WordPress 6.7.2 compatibility
 * cleaned off the tail of the readme file

#### 3.5.54

 * Added the ability to allow for Private post types to be purged.
 * Bugfix: fixed deprecation errors on PHP 8.4 for nullable types

#### 3.5.53

 * Bugfix: Prevent additional db writes to options table on Admin pages by skipping
   them when the db migration version is the current migration version.

#### 3.5.52

 * Added more image sizes to Image Resizer for Accelerated Domains. This overcomes
   image quality issues on sites that have minimal SRCSET image sizes implemented.

#### 3.5.51

 * Added purge all on Customizer Update and Theme change.
 * Added error messaging for when the ‘post_row_actions’ actions array is invalid,
   and Servebolt Optmizer is unable to add purge actions to CRUD pages.
 * Bugfix: Updated Servebolt PHP-SDK so that the error “PHP Deprecated: Creation
   of dynamic property” does not show for PHP8.2+

#### 3.5.50

 * Bugfix: added extra error checking around WooCommerce product purge after customer
   reported errors were found.
 * Confirmed WordPress 6.7.1 support

#### 3.5.49

 * Added purge on WooCommerce stock change or product update, to cover purge events
   when save_post hook is not fired.
 * Bugfix: Forcing max-age=0 on all posts that are status “Password Protected” to
   prevent ever being cached.

#### 3.5.48

 * Bugfix: on Servebolt Linux 8/php 8.3+ the purge candidate urls were filtering
   too many out of being purgable.
 * Bugfix: False positive error in logs when logged in at that Cache-Tag headers
   could not be sent. Cache-Tags should never be present for logged in users.

#### 3.5.47

 * Added option to purge all caches, including the Server and CDN. This applies 
   to those hosted on Servebolt Linux 8 only and using Accelerated Domains or Servebolt
   CDN.
 * Fixed some deprecation errors on admin sub menus that have been converted to 
   tabs.
 * Improved the log file ready on Servebolt Linux 8 to now include PHP and HTTP.
 * Update to the Servebolt PHP-SDK to support the new purge method.

#### 3.5.46

 * Accelerated Domains Image Resizer: added filter to manage problems when WordPress
   is unable to produce image dimensions by defaulting to the thumbnail size.
 * code re-orgainisation for easier reading/debugging in the purge post section.

#### 3.5.45

 * added extra checks to CacheTag creation to deal with plugins that prevent the
   ID from being readable on is_singular() queries

#### 3.5.44

 * added extra checks to prevent php 8.3 deprecation errors on some requests.

#### 3.5.43

 * Removed unneeded url purge request for Servebolt-CDN, reducing purge request 
   by 50%.
 * Adapted purge logic for Servebolt-CDN to reduce unneded purges at the CDN. If
   less than 17 urls are needed to purge properly, it will choose that, if not will
   purge by tag all HTML.
 * Adapted API error output from code based failures during AJAX request to make
   it reable.

#### 3.5.42

 * forcing release. 45mins after success message from WordPress and its not live.
   bumping.

#### 3.5.41

 * further improvement to purging, reducing total payloads for Files as Tags are
   performing the same job
 * Bug fix: Updated the PHP SDK again, added type to all Servebolt CDN purges to
   add extra validation.

#### 3.5.40

 * Added stable tag so it gets deployed!
 * Removed changelog pre v 3.5 to make it shorter as requested
 * Adapted the tags to match requested count.

#### 3.5.39

 * Added sanitization to host calls for purging, and better validation, via update
   to Servebolt SDK.
 * Made purge based AJAX error messages readable in the modal window.
 * Reduced number of cache tags, removing ones that were never used.
 * Adapted purge call for Servebolt CDN for single post purges, no more purge errors.

#### 3.5.38

 * Adapted the action scheduler cron script to check active status of WooCommerce
   per site, not per network.
 * Removed /favicon.ico from fast404 capability.
 * Updated Servebolt Linux 8 users admin panel link from top menu.

#### 3.5.37

 * Changed password on SVN/WordPress.org, trying to authenticate again and deploy.

#### 3.5.36

 * Bump release due to authentication issue during last release, failed uploading
   the tag to WordPress.

#### 3.5.35

 * Confirmed WordPress 6.6.1 support.
 * Added Admin UI elements to manage Caching of 404’s, and fast 404’s reponses for
   static files
 * Implemented fast 404’s for static files, that give a reponse after either mu_plugins_loaded
   or plugins_loaded. No extra processing or file sizes.
 * Added purge all trigger to options->permalink_structure

#### 3.5.34

 * fixed php sdk depreciation error
 * removed php 7.3 support, minimum level is 7.4, which is also minumum level Servebolt
   hosts.

#### 3.5.33

 * Support for WordPress 6.5.2 confirmed.
 * Added auto healing for environment files where if the cached filepath is incorrect,
   it is automatically replaced.
 * Bugfix – On some cron based jobs that do not have HTTP_USER_AGENT set, were failing
   on newer versions of PHP. Added check for ‘HTTP_USER_AGENT’ before trying to 
   use it in part of the prefetching checks.
 * Bugfix – Added additional checks on the strContains() helper function to deal
   with PHP8 requirements on null values.

#### 3.5.32

 * Updated changelog with 3.5.31 reason for release.

#### 3.5.31

 * release bump

#### 3.5.30

 * When on Servebolt the plugin now checks the environement.json file to see if 
   the key `api_url` exists. If its there it will use that, if not it will continue
   to use the pre-defined url for communication with the Servebolt API.

#### 3.5.29

 * adapted cache tags prefix to be unique: Chosing between the shortest of bolt_id
   plus environment_id as one string, the domain name without dots as the other 
   string.

#### 3.5.28

 * Found extra typo and replaced ‘sb_optimizer_cach_tags_fine_grain_control’ to 
   be ‘sb_optimizer_cache_tags_fine_grain_control’

#### 3.5.27

 * fixed typo in ‘sb_optimizer_cach_tags_fine_grain_control’ to be ‘sb_optimizer_cache_tags_fine_grain_control’
 * added new brand icon
 * added copy text for Servebolt CDN

#### 3.5.26

 * added filter ‘sb_optimizer_cach_tags_fine_grain_control’ that when set to false
   will use a single tag for all HTML and RSS
 * converted cachetags from a human readable format to a machine readable format
   to reduce header size
 * added new branding logo
 * forcing a cache purge all on update of this version of the plugin to move sites
   to the to new CacheTags schema

#### 3.5.25

 * Allows for NextGen servers to be supported for reading Servebolt Environment 
   files and obtaining the site id from the path.
 * Using hook set_object_terms, so that it checks if default_category is used on
   first save of a post, and if its is being replace with newer terms on first publish.
 * Tested upto 6.4.1
 * Fixed bug in cache by term id, now uses CacheTags whenever possible.
 * Added check for Image sizes on Accellerated Domains image resizer so that it 
   can never have a zero value.

## Meta

 *  Version **3.6.3**
 *  Last updated **4 days ago**
 *  Active installations **1,000+**
 *  WordPress version ** 4.9.2 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/servebolt-optimizer/), [English (US)](https://wordpress.org/plugins/servebolt-optimizer/),
   and [Swedish](https://sv.wordpress.org/plugins/servebolt-optimizer/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/servebolt-optimizer)
 * Tags
 * [cloudflare](https://dv.wordpress.org/plugins/tags/cloudflare/)[html cache](https://dv.wordpress.org/plugins/tags/html-cache/)
   [multisite](https://dv.wordpress.org/plugins/tags/multisite/)[optimization](https://dv.wordpress.org/plugins/tags/optimization/)
   [performance](https://dv.wordpress.org/plugins/tags/performance/)
 *  [Advanced View](https://dv.wordpress.org/plugins/servebolt-optimizer/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/servebolt-optimizer/reviews/)

## Contributors

 *   [ Servebolt ](https://profiles.wordpress.org/servebolt/)
 *   [ Thomas Audunhus ](https://profiles.wordpress.org/audunhus/)
 *   [ erlendeide ](https://profiles.wordpress.org/erlendeide/)
 *   [ Andrew Killen ](https://profiles.wordpress.org/andrewkillen/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/servebolt-optimizer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://servebolt.com)