Linux 软件免费装
Banner图

SlimPress – Disable Unused Features, Heartbeat & XML-RPC

开发者 macvej
更新时间 2026年10月11日 01:47
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance optimization disable xml-rpc heartbeat

下载

1.6.1 1.7.0 1.0.0 1.6.0

详情介绍:

SlimPress turns off parts of WordPress core that your site does not use - emoji scripts, XML-RPC, the REST API for logged-out visitors, Heartbeat, comments, feeds, author and date archives, search, revisions, image sizes, block editor extras, dashboard clutter, automatic updates, admin emails and more - grouped by area and explained in plain language. A built-in performance test compares your own pages with and without SlimPress, without changing your settings. What makes it different: What SlimPress deliberately does not do: page caching, minification, "remove unused CSS", JavaScript delays, per-page script managers or CDN rewrites. Features must serve the purpose of turning off something WordPress core does. Nothing is switched off until you switch it off. Every switch is a runtime filter, so deactivating SlimPress restores WordPress's default behaviour on the next request. SlimPress never writes to core tables or core options itself, except when you click the one-off "Delete old revisions" button and confirm. Retention limits also have lasting effects: when you set a limit for revisions, trash, WooCommerce scheduled actions or logs, WordPress or WooCommerce permanently deletes anything that exceeds it. Media switches affect the image copies created during upload; switching them off or deactivating SlimPress does not recreate missing copies or restore deleted data. 122 switches in 13 groups, plus the Assets tab Each group has an on/off switch of its own, so you can pause a whole group while you look for a problem and restore it exactly as it was. The Overview tab counts the requests and outside calls SlimPress has blocked today and over the last 30 days. Presets The Overview tab offers site-wide presets (Safe defaults, Blog, Brochure site, WooCommerce store, Headless). A preset only enables SlimPress switches: it shows you what it would change first, skips anything an active plugin relies on, and leaves everything else as it is. Built to cost nothing A feature that is off loads no code and adds no hooks. SlimPress adds no CSS, JavaScript or markup to your public pages, ever. With every feature off, SlimPress adds about 115 KB of memory and no database queries to a front-end request, and its processing overhead was too small to measure (WordPress 7.1, PHP 8.4, using the median of 40 paired runs).

安装:

  1. Upload the plugin to /wp-content/plugins/slimpress/, or install it from the Plugins screen.
  2. Activate it. Nothing changes on your site until you say so.
  3. Go to Settings -> SlimPress.

屏幕截图:

  • A group tab - every switch with its impact badge, what it does and what might break.
  • The performance test - choose pages, run the test and see the difference with and without SlimPress.
  • Test history - earlier runs, per-feature results, the settings each run used, and a trend

升级注意事项:

1.7.0 Adds check-it-yourself links, hiding plugin notices and dashboard widgets, fast 404s for missing files, and blocking chosen outside servers from wp-admin. New switches are off by default. Your settings remain unchanged. 1.6.1 Fixes for the performance test, plugin scan, Assets rules and comment hiding. Your settings remain unchanged. 1.6.0 Adds an Assets tab: load plugin CSS and JavaScript only on the pages that need them, and scan plugins to see which ones load files and how large those files are. Nothing changes until you add a rule. 1.5.0 Settings tabs now switch without a full page reload and ask before discarding unsaved changes. Your settings remain unchanged. 1.4.0 Adds six new switches across the Media, Content & URLs, Comments, Security and WooCommerce tabs, and a "Select all" checkbox on each tab. Fixes author archives and site-wide comments. New switches are off by default. 1.3.1 Adds a note to the "Load the next page before the click" switch for sites that still use HTTP. 1.3.0 Adds two switches: load the next page before the click, and save new images as WebP or AVIF. Both are off until you switch them on. 1.2.0 Adds an autoload report to the performance test: what every request reads from the database, the largest options and which plugin, theme or part of WordPress probably added them. 1.1.0 Removes the "Disable all update checks" option at WordPress.org's request. Adds a load-by-source breakdown and a trend chart to the performance test. 1.0.0 First release. Activation changes nothing: every switch is off by default.

常见问题:

Does activating SlimPress change anything on my site?

No. Every feature is off by default and activation writes nothing.

What happens if I deactivate SlimPress?

WordPress returns to its default behaviour on the very next request. SlimPress applies its changes through runtime filters and actions, so there are no core settings to restore. Deleted data does not come back: this includes revisions removed by the "Delete old revisions" button (which asks first) or by a revision limit when a post was saved, trash emptied under a shorter retention period, and WooCommerce scheduled actions and logs deleted under shorter retention limits. Image copies omitted during uploads while a Media switch was on are not recreated.

Which toggles are risky?

Every toggle that can cause a visible problem is marked Careful and explains what might stop working. The ones most likely to cause problems are:

  • Disable the REST API for logged-out visitors - contact forms, booking plugins and WooCommerce blocks often use it. Add their namespaces to the allowlist.
  • Disable WP-Cron on page load - scheduled posts, backups and automatic updates stop until a real server cron job runs wp-cron.php. Set that up first.
  • Disable XML-RPC - the WordPress mobile app, Jetpack and pingbacks use it.
  • Disable comments site-wide - WooCommerce product reviews are comments too.
  • Disable global styles - block themes rely on these styles for spacing, colours and typography.
  • Disable installing and updating from the dashboard - also stops security updates. Use this only on sites that are updated another way.
  • Disable recovery mode emails - these emails help you regain access after a fatal error.
SlimPress also warns you when an active plugin is known to need something you are about to switch off.

Why doesn't SlimPress remove ?ver= query strings?

The version string is what makes browsers fetch a fresh file after an update. Removing it offers no measurable benefit and can leave visitors with outdated CSS and JavaScript. SlimPress also has no switch for turning off lazy loading, automatic sizes attributes on lazy-loaded images or big-image scaling, because disabling these features makes sites slower. The Media tab explains big-image scaling on an info card instead.

Does SlimPress need WooCommerce?

No. It works on any site. On a WooCommerce store, it warns you about switches that affect features the shop relies on, and the WooCommerce store preset preserves those features. A WooCommerce tab with its own switches (admin nags, tracking, background jobs and more) appears automatically while WooCommerce is active, and disappears - without losing your choices - if you deactivate it.

Will it conflict with my caching plugin?

SlimPress does not cache, minify or combine anything, so it does not overlap with a caching plugin. The performance test asks for uncached pages, and if a page cache responds anyway, it says so rather than showing you the cache's numbers.

Does SlimPress contact any external service?

Only if you click the optional PageSpeed button on the performance test tab. See "External services" below.

Can I move my settings to another site?

Yes. The Tools tab exports your settings as a JSON file and imports them on another site. The tab also lets you reset every switch to off.

I changed something and the site broke. How do I go back?

Open Tools -> Undo a change. SlimPress keeps the last 10 versions of its settings - every save, group pause, preset, import and reset - and restores the version you choose. To find the cause first, pause one group at a time from its tab.

更新日志:

1.7.0 1.6.1 1.6.0 1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0