Turbo Speed
Optimize page speed with lazy loading, script deferral, CSS/JS minification, and database cleanup.
Overview
Turbo Speed is a performance optimization service that speeds up your WordPress site without requiring technical knowledge. It combines frontend optimizations (lazy loading, script deferral, minification) with database cleanup tools to reduce page weight and server response times.
Frontend Optimizations
Lazy Load Images
Adds the loading="lazy" attribute to images so they only load when scrolled into view. This significantly reduces initial page load time, especially on image-heavy pages.
Defer Scripts
Adds the defer attribute to JavaScript files so they don't block page rendering. After enabling, use the Scan button to detect all enqueued scripts, then choose which ones to defer. Critical scripts (like jQuery) can be left untouched.
Minify JavaScript
Creates minified versions of your JavaScript files, removing whitespace, comments, and unnecessary characters. Minified files are cached in wp-content/cache/rakuwp/js/ with hash-based filenames for cache busting.
Minify CSS
Creates minified versions of your CSS files, removing whitespace and comments while preserving quoted strings and url() references. Cached in wp-content/cache/rakuwp/css/.
Database Optimization
The database cleanup section helps reduce database size and improve query performance. Available cleanup types:
- Post revisions: Removes old revision entries that accumulate with every save.
- Auto-drafts: Clears automatically created drafts.
- Trashed posts: Permanently deletes posts in the trash.
- Spam comments: Removes comments marked as spam.
- Trashed comments: Permanently deletes trashed comments.
- Expired transients: Clears expired temporary options from the database.
- Orphaned post meta: Removes metadata entries that no longer belong to any post.
- Orphaned comment meta: Removes metadata entries that no longer belong to any comment.
Each type shows a count of items that can be cleaned. Click Clean to process each type individually.
Optimize Tables
Runs OPTIMIZE TABLE on all WordPress database tables to reclaim unused space and defragment data for faster queries.
Conflict Detection
Turbo Speed automatically checks for other optimization plugins that may conflict (over 20 known plugins are detected). If a conflict is found, a warning is displayed recommending you deactivate the conflicting plugin to avoid double-processing.
Getting Started
- Go to RakuWP > Services and enable Turbo Speed.
- Navigate to RakuWP > Turbo Speed to see all optimization options.
- Enable Lazy Load Images: this is safe for all sites.
- Click Scan Scripts to detect enqueued JavaScript files. Review the list and defer non-critical scripts.
- Enable CSS and JS minification if desired.
- Use the database cleanup section periodically to keep your database lean.
Troubleshooting
- Site layout breaks after deferring scripts: Some scripts depend on execution order. Disable defer for the script causing the issue — usually the one providing a global variable or library that other scripts need.
- Minified file not updating: Minified files use hash-based names, so they update automatically when the source changes. If stale, clear the cache folder at
wp-content/cache/rakuwp/. - Conflict warning displayed: Deactivate the conflicting plugin. Running two optimization plugins simultaneously can cause double minification, broken scripts, or excessive resource usage.