[WordPress] 外掛分享: The Off Switch (formerly WP Avoid Slow)

首頁 › 外掛目錄 › The Off Switch (formerly WP Avoid Slow)
WordPress 外掛 The Off Switch (formerly WP Avoid Slow) 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(6 則評價)
3 天前
最後更新
0%
問題解決
WordPress 5.0+ PHP 7.4+ v1.14.0 上架:2010-03-24

內容簡介

The Off Switch 外掛讓使用者能夠輕鬆關閉 WordPress 預設的多餘功能,減少不必要的資源消耗,提升網站效能。使用者可以根據需求選擇性地停用各項功能,保持網站的輕便與快速。

【主要功能】
• 個別關閉不必要的功能
• 實時計數顯示開關狀態
• 提供 WP-CLI 命令複製配置
• 每個開關卡片顯示移除內容
• 確保開關功能與 WordPress 版本相容

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.14.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「The Off Switch (formerly WP Avoid Slow)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 discovery link for blogging clients from 2005.
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.
One screen, every switch
A live counter shows how many switches are on. A sticky bar keeps Save, the filter, and state chips (All / On / Off / Changed / New) in reach while you scroll. Changed switches are highlighted until you save, and an “unsaved changes” pill shows exactly what you’ve flipped before you commit. Jump between sections with live per-section counts, or copy a WP-CLI command that replicates your whole configuration on another site.
Every switch card states what it removes, what it saves, and what to watch out for. Every switch is functionally verified against a live WordPress install before release — the WordPress 7.1 switches against WordPress 7.1.
Where two switches overlap, the card says so: a switch whose job another one already does is marked “covered by” it, and a switch that works best with a partner names it. The few combinations that would break a site outright are refused, not just warned about — Global Styles cannot be removed under a block theme, which is built from them.
Bloat Remover

Emoji script – ~15 KB + 1 HTTP request. Browsers handle emoji natively.
Embed script – ~4 KB + oEmbed discovery links in , and the endpoint other sites use to embed your posts. Embedding YouTube, Vimeo and other sites in your own content is unaffected.
RSD link – Really Simple Discovery. Only needed for legacy XML-RPC clients.
WLW manifest – Windows Live Writer has been discontinued since 2017. WordPress 6.3 removed this link from core — the switch matters on WordPress 6.2 and older.
WP version tag – Stops advertising your WordPress version to the world.
Max Image Preview Directive (WP 5.7+) – WordPress adds max-image-preview:large to the robots tag on every public page, telling search engines they may show large image previews. Remove it if you set your own robots policy.
Shortlink – Removes from and HTTP headers. Search engines ignore it.
Asset query strings – Strips ?ver= from front-end scripts, styles and WP 6.5+ Script Modules, for older proxies and CDNs that won’t cache an address with a query string. Never applied in wp-admin. Purge your CDN after theme or plugin updates while it is on.
XML-RPC – Closes a common brute-force attack vector.
XML-RPC Kill Requests – Goes further than disabling: hard-kills any incoming xmlrpc.php request with a 403 before WordPress loads at all.
XML-RPC Methods – A gentler alternative to the hard kill: strips every XML-RPC method, closing the unauthenticated ones — including pingback.ping — that the XML-RPC switch above leaves answering. xmlrpc.php still responds, but with nothing to call.
Heartbeat API – Slows wp-admin’s check-ins with your server from every 15 s (every 10 s in the post editor) to once a minute. Post-lock warnings and the session-expired prompt keep working.
Dashicons (frontend) – ~35 KB (CSS + font) saved for every logged-out visitor.
REST API Discovery Link – Removes from . Safe to remove on standard sites.
RSS Feed Links – Removes feed autodiscovery tags from . Modern browsers no longer act on them. Leave enabled if you publish an RSS feed.
Speculation Rules (WP 6.8+) – Disables the WP 6.8+ Speculation Rules API that prefetches links before users click. Can inflate analytics, increase server bandwidth, and trigger consent flows on unfetched pages.
Disable All Feeds – Redirects all RSS and Atom feed URLs to the homepage. For sites with no RSS subscribers.
Comment Auto-Links – Stops WordPress from converting plain-text URLs in comments into clickable links.
Editor Autosave – Deregisters the autosave script that POSTs editor content to the server every 60 seconds. For teams that prefer explicit saves.
DNS Prefetch – Removes all hints from . Redundant when Emojis and Embeds are already disabled.
Recent Comments Inline CSS – WordPress outputs a small inline

文章
Filter
Mastodon