Linux 软件免费装
Banner图

The Off Switch (formerly WP Avoid Slow)

开发者 Abhishek
deshabhishek007
fitehal
更新时间 2026年4月21日 01:07
PHP版本: 7.4 及以上
WordPress版本: 6.9.1
版权: GPLv2 or later
版权网址: 版权信息

标签

speed performance optimize bloat core-web-vitals

下载

1.9.9 0.4 1.0 1.9.11 1.9.10 1.9.12 1.6.0 1.9.1 1.9.3 1.9.4 1.9.5 1.9.6 0.2 1.9.0 1.9.7 0.1 1.0.0 1.2.0 1.1.1 1.2.1 1.3.0 1.5.0 1.7.0 1.8.0 0.3 1.9.8

详情介绍:

WordPress prioritises backwards compatibility. That's a feature. It also means every install ships with things you didn't ask for. An emoji CDN script. An oEmbed script. A Windows Live Writer manifest (discontinued 2017). Dashicons loaded for logged-out visitors. Heartbeat polling every 15 seconds. A version tag that tells the world exactly which WordPress you're running. None of these are bugs. They're just not needed on most sites. Disable what you don't need. Keep what you do. The Off Switch lets you disable each one, individually. The Off Switches Script & Style Control WordPress Behaviour Tweaks Database & Query Image Performance Security & Admin Hardening Block Editor WooCommerce These toggles are only shown when WooCommerce is active. Login Page A nod to YSlow In 2007 Yahoo! released YSlow - a browser tool that graded pages against a checklist of performance rules: fewer HTTP requests, smaller payloads, nothing the browser didn't ask for. Steve Souders and the Yahoo! Exceptional Performance team gave the whole industry a shared vocabulary for why pages were slow, and a practical list of things to fix. Browsers got faster. Servers got faster. Bandwidth got cheaper. The fundamentals didn't change. The Off Switch is, in spirit, a YSlow checklist applied to what WordPress ships by default. The fastest request is still the one that never happens. What it doesn't do How it works Every toggle is a named WordPress hook removal or filter. You can read the entire logic in one file per module. No compiled assets. No build step. No obfuscation. Who it's for Developers and agencies who know what these features do - and know their site doesn't need them. Not sure what a toggle does? Leave it off. Each one is independent. Video Reviews

安装:

  1. Upload wp-avoid-slow to /wp-content/plugins/
  2. Activate through the Plugins menu
  3. Go to Settings -> Off Switch
  4. Turn off what you don't need

常见问题:

Will this break my site?

Each toggle is independent. Safe defaults are on. Risky ones (jQuery Migrate, defer JS, scripts to footer) are off by default. If something breaks - turn that toggle off. Nothing is written to disk.

Does it work on managed hosting (WP Engine, Kinsta, Pressable)?

Yes. Pure PHP hooks, no .htaccess required.

Should I disable XML-RPC?

Only if you don't use Jetpack, the WordPress mobile app, or any XML-RPC client. When in doubt, leave it off.

Should I enable "Defer non-critical JavaScript" or "Move scripts to footer"?

Test on staging first. These two are the most likely to cause issues on complex sites - some themes and plugins rely on scripts being available synchronously in <head>.

Does it cache pages?

No. This plugin removes unused WordPress features. For page caching, use a dedicated plugin.

Does it work on WordPress Multisite?

Not currently. The plugin is designed and tested for single-site WordPress installs. Multisite support is planned for a future release.

Does it work with WooCommerce?

Yes. When WooCommerce is active, a WooCommerce section appears in Settings -> Off Switch with 9 dedicated toggles for removing WooCommerce frontend overhead. None of the core toggles touch WooCommerce - each module is independent.

How do I disable emojis in WordPress?

Enable the Emoji Script toggle under The Off Switches. It removes the emoji CDN script (~15 KB + 1 HTTP request) — modern browsers render emoji natively without it.

How do I disable the Heartbeat API in WordPress?

Enable the Heartbeat API toggle. It reduces admin polling from every 15 seconds to every 60 seconds. For most sites the difference is invisible to editors.

Does it work alongside caching plugins like WP Rocket, LiteSpeed Cache, or W3 Total Cache?

Yes. This plugin removes features at the WordPress hook level before caching plugins run. Use both — they do different jobs. This plugin removes unnecessary output; a caching plugin stores and serves the result.

How is this different from other performance plugins?

Most performance plugins add things - caching layers, CDN routing, minification pipelines. This one removes things. It's a different job.

更新日志:

1.9.11 1.9.10 1.9.9 1.9.8 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.0 0.4 0.3 0.2 0.1