Linux 软件免费装
Banner图

AssetPilot - Granular control over frontend assets

开发者 amrelarabi
更新时间 2026年6月5日 02:27
PHP版本: 8.1 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

performance scripts dequeue defer page-speed

下载

1.0.0

详情介绍:

AssetPilot helps you speed up WordPress by controlling which scripts and styles load on which pages — without guessing handle names in functions.php. Scan a real page URL, see every enqueued asset (and many from the HTML), then create rules to disable, defer, async, preload, or set fetch priority — only where your conditions match (homepage, shop, mobile, logged-in users, specific URLs, and more). Built for site owners who want measurable wins and for developers who want conditional dequeue with guardrails: validation warnings, dependency insight, scan history, and Safe Mode if something breaks. Why AssetPilot instead of a simple “unload” plugin? What you can do Typical use cases How it works
  1. Open AssetPilot → Assets and scan a page (your homepage, a product page, a form page, etc.).
  2. Pick an asset (or select several for a bulk rule).
  3. Choose an action and conditions (where the rule applies).
  4. Review validation and impact, then save.
  5. Visit the front end — use Safe Mode anytime you need to disable all runtime rules instantly.
The block editor includes an AssetPilot sidebar on supported setups so you can jump from a post to asset management with context. Requirements Frontend runtime changes apply to public site views, not the WordPress admin dashboard.

安装:

  1. Install and activate AssetPilot from the Plugins screen (or upload the assetpilot folder to /wp-content/plugins/).
  2. In the admin menu, open AssetPilot.
  3. Go to Assets, enter a page URL, and run a scan.
  4. Create your first rule from any row in the results table.
No command-line build is required for normal use on WordPress.org installs.

屏幕截图:

  • Assets Explorer — scripts and styles found on a scanned URL
  • Create Rule — choose action, asset, and conditions in steps
  • Conditions — page, URL, device, WooCommerce, and more
  • Bulk rule — apply one action to multiple handles
  • Dependency graph — see what depends on what before disabling
  • Recommendations — suggested optimizations from your scans
  • Settings — Safe Mode, logging, and runtime status

升级注意事项:

1.0.0 First public release. Scan a page, create a narrow rule, and test before applying site-wide conditions.

常见问题:

Will this break my site?

Any plugin that changes how assets load can break layouts or checkout if rules are too aggressive. AssetPilot reduces risk with validation messages, dependency information, Safe Mode, and automatic runtime pause after errors. Start with narrow conditions (one URL or one page type), test, then expand.

Will AssetPilot improve my PageSpeed or Core Web Vitals score?

It can help by removing or deferring assets that should not run on a given view. Results depend on your theme, hosting, caching, and which plugins enqueue heavy scripts. AssetPilot shows what is loaded so you can make informed cuts — it is not a full-page cache or image optimizer.

How is this different from “Asset CleanUp” or “unload” plugins?

Those tools focus on unloading assets per page. AssetPilot emphasizes conditional rules, bulk targeting, scan history, dependency graph, recommendations, validation, and verification workflows in one admin app — aimed at repeatable, auditable performance work.

Does it work with WooCommerce?

Yes. Conditions can target shop, product, cart, checkout, and account views so you can keep payment scripts where they are needed.

Does it work with Elementor and page builders?

Yes. Scan Elementor-built pages to see builder assets, then create rules with page-level conditions. Test carefully on editor and preview URLs; use Safe Mode if a template looks wrong.

Does it work with Contact Form 7 and other plugins?

Scan pages with and without the form (or feature). Disable or defer that plugin’s handles only on views where the shortcode or block is not present.

Does AssetPilot change the WordPress admin?

No. Rules target frontend delivery for visitors (subject to your conditions). Admin and block editor tooling are for configuration only.

Do I need to edit code?

No. Everything is configured in the AssetPilot admin UI. Developers can extend behavior via documented PHP hooks (see Development).

Where is the source code?

https://github.com/amrelarabi/assetpilot

更新日志:

1.0.0