| 开发者 | amrelarabi |
|---|---|
| 更新时间 | 2026年6月5日 02:27 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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?
fetchpriority on images and preloadsassetpilot folder to /wp-content/plugins/).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.
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.
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.
Yes. Conditions can target shop, product, cart, checkout, and account views so you can keep payment scripts where they are needed.
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.
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.
No. Rules target frontend delivery for visitors (subject to your conditions). Admin and block editor tooling are for configuration only.
No. Everything is configured in the AssetPilot admin UI. Developers can extend behavior via documented PHP hooks (see Development).