Title: CB Performance Optimizer
Author: Chris M Ybanez
Published: <strong>November 23, 2026</strong>
Last modified: November 23, 2026

---

Search plugins

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

![](https://ps.w.org/cb-performance-optimizer/assets/icon.svg?rev=3817600)

# CB Performance Optimizer

 By [Chris M Ybanez](https://profiles.wordpress.org/chrismaryey02/)

[Download](https://downloads.wordpress.org/plugin/cb-performance-optimizer.1.0.0.zip)

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

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

## Description

CB Performance Optimizer makes WordPress and WooCommerce sites faster by removing
what they load but never use, and by cutting the background work that keeps your
server busy. It does this **without page caching, minification or rewriting your
HTML**, so it runs safely next to the cache plugin, host cache or CDN you already
have.

Open **Settings  Performance**, click **Apply recommended settings**, and you are
done. Every option after that is a simple on/off switch with a plain-English explanation.
Options that could affect how a site looks or works ship turned off and carry a “
Test after enabling” label.

#### Who it is for

 * **Site owners** who want a faster site without learning what “render-blocking”
   means.
 * **WooCommerce stores** that load shop scripts on every blog post and run an uncached
   cart request on every page view.
 * **Shared-hosting users** whose host warns about CPU usage, often caused by the
   Heartbeat API and a bloated database.
 * **Developers and agencies** who want a small, predictable plugin that uses WordPress
   core APIs and offers filters for everything.

#### How it differs from other speed plugins

 * **No output buffering or HTML rewriting.** Many optimizers capture the whole 
   page and rewrite `<script>` tags with regular expressions. This plugin defers
   JavaScript through the WordPress core Script Loading Strategy API (6.3+). WordPress
   then keeps a script blocking whenever a dependency or inline code needs it, so
   the usual “defer broke my site” problems are far rarer.
 * **Built to sit beside your cache, not replace it.** There is no page cache, minification
   or file combining, so it does not conflict with LiteSpeed Cache, WP Rocket, W3
   Total Cache, Cloudflare or host-level caching.
 * **WooCommerce-aware asset loading.** WooCommerce CSS/JS is kept on shop pages
   and on any page that contains Woo shortcodes or blocks. It is removed everywhere
   else. The cart-fragments request is skipped only while the cart is empty.
 * **Zero cost when off.** Each feature registers its hooks only when it is enabled.
   The plugin makes no external requests and adds no front-end files of its own.
 * **Finds hidden slowdowns.** The autoloaded-options audit shows which options 
   are loaded on every request and lets you switch autoload off for the large ones,
   with a one-click restore.
 * **Safety labels on every option.** Each option shows whether it is safe everywhere
   or needs testing. Database clean-up deletes posts and comments in batches through
   core functions, so related meta and hooks are handled correctly.

#### Dashboard

 * Performance health score with 10 checks: bloat, Heartbeat, revisions, scheduled
   clean-up, autoload size, database clutter, object cache, PHP version, OPcache
   and debug mode.
 * Each failed check links straight to the setting that fixes it.
 * One-click “Apply recommended settings” (safe options only; your other settings
   are kept).

#### Clean-up

 * Disable the emoji script and styles.
 * Disable wp-embed and oEmbed discovery (YouTube, Vimeo and other embeds keep working).
 * Remove RSD, WLW manifest, generator, shortlink and adjacent-post tags.
 * Remove the REST API discovery link and header (the REST API itself keeps working).
 * Disable self-pingbacks.
 * Disable XML-RPC.
 * Disable RSS feeds (redirect to the home page).

#### Scripts & styles

 * Remove jQuery Migrate (front end only).
 * Remove Dashicons for logged-out visitors.
 * Remove block-library CSS on pages without blocks (classic themes).
 * Defer JavaScript using the core loading-strategy API, with an exclusion list.

#### Preloading & hints

 * Instant page loads: tune core speculative loading (WordPress 6.8+) to prefetch
   or prerender the next page when a visitor hovers a link.
 * Preload critical fonts, hero images and CSS through the core preload API.
 * Preconnect and DNS-prefetch hints for third-party origins.

#### Server load

 * Heartbeat control: slow down, disable on the front end, or run only in the post
   editor.
 * Limit post revisions.
 * Scheduled daily or weekly database clean-up via WP-Cron.

#### WooCommerce

 * Skip the cart-fragments AJAX request while the cart is empty.
 * Load WooCommerce CSS/JS only on shop, product, cart, checkout and account pages,
   and on pages with WooCommerce shortcodes or blocks.

#### Database

 * Clean revisions, auto-drafts, trashed posts, spam and trashed comments, pingbacks/
   trackbacks, expired transients, orphaned post and comment meta, the oEmbed cache
   and expired WooCommerce sessions.
 * Optimize tables.
 * Autoloaded-options audit: total size, the 15 largest options, turn autoload off
   and restore it.

#### Privacy

CB Performance Optimizer does not collect, store or send any personal data. It makes
no requests to external services, sets no cookies and adds no tracking. All settings
are stored in your own database and are removed when you delete the plugin.

## Screenshots

[⌊Dashboard: performance health score, key numbers and one-click recommended settings.⌉⌊
Dashboard: performance health score, key numbers and one-click recommended settings
.⌉[

Dashboard: performance health score, key numbers and one-click recommended settings.

[⌊Dashboard checks, each with a link to the setting that fixes it.⌉⌊Dashboard checks,
each with a link to the setting that fixes it.⌉[

Dashboard checks, each with a link to the setting that fixes it.

[⌊Optimizations tab: on/off switches with "Safe" and "Test after enabling" labels.⌉⌊
Optimizations tab: on/off switches with "Safe" and "Test after enabling" labels.⌉[

Optimizations tab: on/off switches with “Safe” and “Test after enabling” labels.

[⌊Preloading & hints: instant page loads, preloading and connection hints.⌉⌊Preloading&
hints: instant page loads, preloading and connection hints.⌉[

Preloading & hints: instant page loads, preloading and connection hints.

[⌊Database tab: clean-up items with counts and one-click buttons.⌉⌊Database tab:
clean-up items with counts and one-click buttons.⌉[

Database tab: clean-up items with counts and one-click buttons.

[⌊Autoloaded options audit with size meter and per-option controls.⌉⌊Autoloaded 
options audit with size meter and per-option controls.⌉[

Autoloaded options audit with size meter and per-option controls.

## Installation

#### From your WordPress dashboard

 1. Go to **Plugins  Add New Plugin** and search for “CB Performance Optimizer”.
 2. Click **Install Now**, then **Activate**.
 3. Go to **Settings  Performance**.

#### Manual upload

 1. Download the zip file.
 2. Go to **Plugins  Add New Plugin  Upload Plugin**, choose the zip and click **Install
    Now**.
 3. Activate the plugin and go to **Settings  Performance**.

#### Quick start

 1. On the **Dashboard** tab, click **Apply recommended settings**. This turns on only
    the options that are safe on practically every site.
 2. Purge your page cache or CDN so visitors get the lighter pages.
 3. Optional: on the **Optimizations** tab, try the options labelled “Test after enabling”
    one at a time, checking your site after each.
 4. Optional: on the **Database** tab, take a backup, then clean up clutter and review
    your autoloaded options.

## FAQ

### Will this plugin break my site?

The recommended settings only remove things that almost no site uses, such as the
emoji script and extra tags in the page head. Options that can affect how a site
looks or works are off by default and labelled “Test after enabling”. Turning any
option off restores WordPress’s normal behaviour immediately.

### Do I still need a caching plugin?

Yes, if you have one, keep it. This plugin deliberately does not cache pages, so
it works alongside LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, Cloudflare
and host-level caching. Purge your cache after changing settings.

### Does it work with WooCommerce?

Yes. It has two WooCommerce options: skip the cart-fragments request while the cart
is empty, and load WooCommerce files only on pages that need them. Cart, checkout
and account pages, and any page with WooCommerce shortcodes or blocks, always keep
their files.

### Does it work with block themes and page builders?

Yes. Options that only make sense for classic themes (such as removing block CSS)
detect block themes and leave them alone. The plugin does not rewrite page HTML,
so it does not interfere with page builders.

### Does it work on multisite?

Yes. Each site in the network has its own settings, dashboard and database clean-
up.

### Something broke after enabling Defer JavaScript

Add the script’s handle to “Never defer these handles”, or turn Defer off. WordPress
already refuses to defer scripts when it would be unsafe, but inline scripts printed
directly by themes can still expect a library to be loaded.

### What does “Instant page loads” do?

On WordPress 6.8 and newer, it tells the browser to load the next page in the background
when a visitor hovers over or taps a link, so the page appears almost instantly 
when they click. Logged-in users are skipped. Choose “Prefetch” for a safe speed
boost, or “Prerender” for the fastest result at the cost of a little more server
load.

### What does the scheduled clean-up remove?

Auto-drafts, spam and trashed comments, expired transients, orphaned post and comment
meta, and expired WooCommerce sessions. Revisions, trashed posts and pingbacks are
never removed automatically; clean them by hand on the Database tab.

### Is the database clean-up safe?

The items it removes are not shown anywhere on your site. Deletions are permanent,
though, so take a backup first. Posts and comments are deleted through WordPress’s
own functions, in batches of 500, so related data is cleaned properly and large 
sites do not time out.

### Is turning off autoload for an option safe?

Yes. Nothing is deleted. The option is fetched from the database only when a plugin
asks for it, instead of on every request. Core options cannot be changed, and every
option you switch off is listed with a “Restore autoload” button.

### Does the plugin contact any external service?

No. It makes no external requests and sends no data anywhere.

### What happens when I delete the plugin?

All of its settings and its scheduled clean-up are removed. Optimizations stop immediately
when the plugin is deactivated. Autoload changes you made stay in place; restore
them from the Database tab before deleting if you want to undo them.

### Developer filters

 * `cbpo_defer_exclude` — array of script handles never to defer.
 * `cbpo_is_woo_page` — return true to keep WooCommerce assets on the current request.
 * `cbpo_woo_styles` / `cbpo_woo_scripts` — handles removed on non-shop pages.
 * `cbpo_skip_defer` — return true to skip deferring on the current request.
 * `cbpo_scheduled_tasks` — task keys the scheduled clean-up runs.
 * `cbpo_admin_tabs`, `cbpo_admin_tab_badges`, `cbpo_dashboard_checks` and the actions`
   cbpo_render_tab_{$tab}`, `cbpo_dashboard_after`, `cbpo_database_after`, `cbpo_admin_notices`—
   extend the settings screen.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Chris M Ybanez ](https://profiles.wordpress.org/chrismaryey02/)

[Translate “CB Performance Optimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/cb-performance-optimizer)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial release.
 * Dashboard with a performance health score, 10 checks and one-click recommended
   settings.
 * Clean-up: emojis, embeds, head tags, REST API link, self-pingbacks, XML-RPC, 
   RSS feeds.
 * Scripts & styles: jQuery Migrate, Dashicons, block CSS, Defer JavaScript with
   exclusions.
 * Preloading & hints: speculative loading, preload, preconnect, DNS prefetch.
 * Server load: Heartbeat control, revision limit, scheduled database clean-up.
 * WooCommerce: cart fragments and asset loading only where needed.
 * Database: 11 clean-up tasks (one only with WooCommerce), table optimization and
   an autoloaded-options audit.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [database](https://wordpress.org/plugins/tags/database/)[optimization](https://wordpress.org/plugins/tags/optimization/)
   [performance](https://wordpress.org/plugins/tags/performance/)[speed](https://wordpress.org/plugins/tags/speed/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/cb-performance-optimizer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cb-performance-optimizer/reviews/#new-post)

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

## Contributors

 *   [ Chris M Ybanez ](https://profiles.wordpress.org/chrismaryey02/)

## Support

Got something to say? Need help?

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