Settings & Tools
Killswitch, export/import settings, reset to defaults, source comment, per-page controls, and WP-CLI commands.
Last updated Feb 21, 2026
Overview
This article covers global controls, maintenance tools, and WP-CLI commands for managing BoostPro from the command line.
Killswitch
The killswitch is a master toggle that disables all frontend optimizations instantly. It is available as a sidebar widget in the BoostPro admin for quick access.
When enabled:
- All frontend optimizations are disabled for all visitors
- Individual settings are preserved (not reset)
- Re-enabling the killswitch restores all previous optimizations
Use this when you need to quickly diagnose whether BoostPro is causing an issue without changing individual settings one at a time.
You can also disable BoostPro via wp-config.php by adding:
define('BOOST_DISABLE', true);Note that the BOOST_DISABLE constant is separate from the admin killswitch toggle. Either method disables all optimizations.
Important
The killswitch disables all optimizations for ALL visitors. It is a diagnostic tool, not a permanent setting.
Source code comment
The source_comment setting (enabled by default) adds an "Optimized by BoostPro" HTML comment at the end of your page source code. Toggle it off to remove the comment.
Per-page disable controls
You can disable specific BoostPro features on individual pages via the Resource Manager panel:
- Delay JavaScript
- Defer JavaScript
- Remove Unused CSS
- CSS Minification
- JS Minification
- Page Caching
These are stored as _boost_disable post meta. See the Resource Manager article for details.
Export settings
Downloads your current settings as a JSON file (boostpro-settings.json). This includes all optimization settings and can be used for backup or migrating your configuration to another site.
Import settings
Upload a previously exported JSON file to restore settings. BoostPro validates the file structure before applying and merges the imported settings without affecting non-settings data like converted images or cache files.
Reset to defaults
Restores all settings to factory defaults. This does not delete converted images, cache files, or deactivate your license.
WP-CLI commands
BoostPro includes WP-CLI commands for managing caches from the command line. These require WP-CLI to be installed and BoostPro to be activated.
| Command | Description |
|---|---|
wp boostpro purge | Clears all caches: BoostPro page cache, used CSS cache, and third-party caches. Same as the admin bar purge button. |
wp boostpro clear-css | Clears used CSS cache only. Useful after theme or CSS changes. |
wp boostpro status | Shows cache status: enabled/disabled, cached page count, cache size, and last cleared timestamp. |
Common use cases
- Deployment scripts: add
wp boostpro purgeafter deploying code changes to ensure fresh caches - Scheduled maintenance: use cron to schedule periodic cache clears if needed
Tip
Use wp boostpro purge in your deployment script to ensure fresh caches after code changes.
Cache storage locations
| Cache type | Path |
|---|---|
| Page cache | /wp-content/cache/boostpro/ |
| Minified CSS | /wp-content/cache/boost-css/ |
| Minified JS | /wp-content/cache/boost-js/ |
| Used CSS | /wp-content/cache/boost-used-css/ |
| Converted images | /wp-content/boost-images/uploads/ |
| Self-hosted fonts | /wp-content/uploads/boost-fonts/ |