BD Speed Optimizer

Asset Control, Fonts & Scheduled Cleanup

BD Speed Optimizer now lets you unload unused CSS and JavaScript per page, control the WordPress Heartbeat API, optimize web fonts, and run database cleanup…

2 min read Updated June 4, 2026

BD Speed Optimizer now lets you unload unused CSS and JavaScript per page, control the WordPress Heartbeat API, optimize web fonts, and run database cleanup on a schedule. This guide covers each feature and where to find it.

Unload assets per page

Most pages load CSS and JavaScript they never use — a contact-form script on your homepage, a slider style on a blog post. Per-page asset unloading lets you turn those off where they are not needed.

  • Open BD Speed → Asset Control.
  • Select a page and review the assets it loads.
  • Unload the ones that page does not need.

Test each page after unloading. If something looks wrong, re-enable the asset you removed.

Control the Heartbeat API

WordPress sends frequent background requests through the Heartbeat API, which can add load on busy sites and shared hosting. Under Settings you can slow Heartbeat down or limit it to where it is needed, such as the post editor, to cut unnecessary requests.

Optimize web fonts

Fonts often block rendering and cause a flash of invisible text. The font optimization options help your text show sooner:

  • Font-display: swap — text shows in a fallback font immediately, then swaps to your web font when it loads.
  • Preload — tell the browser to fetch key fonts early so they arrive before they are needed.

Improved delay-JS

Delaying non-critical JavaScript until the first user interaction speeds up the initial load. Delay-JS now preserves script attributes and execution order, so scripts that depend on type, nonce, or load sequence keep working after they run. Add scripts to delay, or exclude any that must run immediately, under Settings.

Scheduled database cleanup

A bloated database slows queries over time. Set up a weekly scheduled cleanup to clear out the clutter automatically:

  • Post revisions and auto-drafts.
  • Spam and trashed comments.
  • Expired transients.

Enable the schedule under BD Speed → Database and pick what to clean. You can still run a manual cleanup any time.

A note on page caching

BD Speed Optimizer does not include its own page cache. On this stack, page caching is handled by LiteSpeed Cache, and running two caching layers causes conflicts. Use LiteSpeed Cache for caching and BD Speed Optimizer for asset control, fonts, Heartbeat, and database cleanup — they complement each other.

Quick start

  • Turn on font-display swap and preload your main fonts.
  • Enable improved delay-JS, then test interactive elements.
  • Unload unused assets on your heaviest pages.
  • Schedule weekly database cleanup.