Resource Cleanup
Remove unused WordPress scripts, styles, and bloat from your pages.
Last updated Feb 6, 2026
Why Cleanup Matters
WordPress loads several scripts and styles by default that many sites don't need. Each unnecessary resource adds HTTP requests, increases page weight, and slows down rendering. BoostPro's cleanup features help you cut this bloat with minimal risk.
Remove Emoji Scripts
WordPress includes emoji detection scripts and styles on every page so emoji characters render consistently across browsers. Modern browsers handle emoji natively, making these scripts unnecessary for most sites.
- Default: On
- Savings: ~16KB per page
- What's removed: The
wp-emoji-release.min.jsscript, emoji styles, TinyMCE emoji plugin, and emoji CDN DNS prefetch hints
Tip
Emoji will still work in your content. This only removes the detection script that converts text emoji (like :)) into graphical emoji. Native emoji characters are unaffected.
Disable oEmbed
oEmbed allows other sites to embed previews of your posts. If you don't need this functionality, disabling it removes the discovery links and JavaScript from your pages.
- Default: On
- Savings: ~6KB JavaScript plus HTTP requests
- What's removed: oEmbed discovery links,
wp-embed.jsscript, and REST oEmbed endpoints
Remove jQuery Migrate
jQuery Migrate is a compatibility layer that helps older plugins work with newer versions of jQuery. If your plugins are all up to date, you likely don't need it.
- Default: Off
- Savings: ~10KB JavaScript
- What's removed: The
jquery-migrate.min.jsscript
Important
Some older plugins and themes depend on jQuery Migrate. Enable this and check your site thoroughly. If anything breaks (sliders, forms, modals), turn it back off.
Remove Query Strings
WordPress appends version query strings (?ver=6.4.2) to CSS and JavaScript URLs. Some CDNs and proxy servers refuse to cache URLs with query strings, reducing their effectiveness.
- Default: On
- What it does: Strips
?ver=X.X.Xparameters from static asset URLs - Impact: Improves cache hit rates on CDNs and proxy servers
Disable Self-Pingbacks
When you link to your own posts, WordPress sends a pingback request to itself. This creates unnecessary database entries and HTTP requests.
- Default: On
- What it does: Filters internal URLs from the pingback queue
- Impact: Reduces unnecessary database writes and HTTP requests
Limit Heartbeat API
The WordPress Heartbeat API sends AJAX requests every 15 seconds by default. This is used for auto-saving, login expiration checks, and real-time notifications. For most sites, a reduced frequency works fine.
- Default: On (60 second interval)
- Options: 15, 30, 60, or 120 seconds
- Recommendation: 60 seconds balances functionality and performance
A longer interval means fewer background AJAX requests, reducing server load. Auto-save still works, just less frequently.
Tip
If you frequently co-edit posts with other users, keep the interval at 30 seconds or less for responsive real-time updates. Otherwise, 60 seconds is ideal.
Recommended Settings
For most WordPress sites, enable all cleanup features except jQuery Migrate removal:
- Remove Emoji Scripts: On
- Disable oEmbed: On
- Remove jQuery Migrate: Off (enable only after testing)
- Remove Query Strings: On
- Disable Self-Pingbacks: On
- Limit Heartbeat: On (60 seconds)