Dr. Speed: AI Assets Scanner – Debloat & Dequeue Unused CSS/JS
Debloat WordPress: unload unused CSS and JavaScript per page, dequeue with verified rules, optimize CSS/JS loading.
Install in
Dr. Speed: AI Assets Scanner debloats WordPress by automatically finding unused CSS and JavaScript on individual pages. It scans desktop and mobile pages, VERIFIES asset-unloading candidates, and prepares per-page rules to dequeue unnecessary files.
Unload files where they aren’t needed to speed up pages and reduce HTTP requests, page weight, bandwidth, and browser work. Fewer scripts and stylesheets per page means better performance and page speed. Review the results before applying rules.
Unload unused CSS and JavaScript to optimize page speed
Most WordPress sites load every plugin’s CSS and JavaScript on every page: a contact-form script on the blog, a slider stylesheet on checkout, a page-builder bundle on a plain post. AI Assets Scanner is an AI-assisted asset manager for exactly that problem. It finds the unused CSS and unused JavaScript files on each page, checks that removing them is safe, and gives you per-page dequeue rules. Applied with Code Unloader, those rules unload the files on the pages that do not need them, which is the fastest way to debloat a site and optimize CSS and JavaScript loading without touching your theme, your plugins, or the files themselves.
Official plugin homepage, features, and scan credits:
https://wpservice.pro/our-products/ai-assets-scanner/
Recommended companion: Code Unloader
I recommend using AI Assets Scanner with Code Unloader, my free WordPress plugin for unloading CSS and JavaScript. Both plugins are developed by Dalibor Druzinec at WPservice.pro.
Code Unloader:
https://wordpress.org/plugins/code-unloader/
AI Assets Scanner generates the rules; Code Unloader applies them. Install Code Unloader on the scanned site for one-click Push/Sync or manual JSON import.
Use Sync to add recommendations while keeping your existing rules. Push replaces the active setup after taking a snapshot. You can undo the last Push/Sync.
What the scanner does
- Unload unused CSS and JS per page: the rules dequeue whole files where a page does not need them. Nothing is minified, rewritten, or deleted.
- Automatic discovery: choose pages, posts, and custom post types from your sitemap or database.
- Desktop and mobile scans: inspect page assets in a real browser and review page-level recommendations.
- Safe and Aggressive groups: separate assets not loaded on a page from loaded assets that passed removal checks.
- Protected assets: safeguards retain detected payment, form, anti-spam, analytics, and WordPress core assets and report what was kept.
- Optimizer awareness: detect supported tools such as WP Rocket, FlyingPress, LiteSpeed Cache, Autoptimize and Perfmatters, and report scan bypass status.
- History and exports: review credit usage, re-download JSON rules, and export scan history to ZIP.
- Access guidance: configure Cloudflare/firewall access or HTTP Basic Auth for protected staging pages.
Free plugin, credit-based scanning service
The plugin is free; browser scans run on the paid WPservice.pro service. An API key and credits are required. New sites can request free starter credits in Settings.
A billable page scan costs one credit. Extra Time (ET) can add one credit when the extended scan runs. Results show credits used and returned. See the official homepage for current packs.
The scanner does not add scripts or styles to ordinary visitor requests. Its frontend scan helpers run only for requests with a valid one-time scan token.
Help and support
Support is handled on the WordPress.org forum. For setup or scanning issues, include your plugin version, scan ID, and the displayed error:
https://wordpress.org/support/plugin/dr-speed-ai-assets-scanner/
If the plugin helps your site, a review helps others find it:
https://wordpress.org/support/plugin/dr-speed-ai-assets-scanner/reviews/
External services
This plugin connects to two services run by WPservice.pro. Nothing is sent until you either save an API key or click Validate your key in Settings.
wpservice.pro API (https://wpservice.pro/wp-json/cu-scanner/v1/) handles accounts and credits.
- When you click Validate your key: your site’s domain and the plugin version, to create a free API key (first install) or restore this site’s existing one.
- When you save or refresh your key: the API key and your site’s domain, to check the key and read your credit balance.
- When you start a scan: the number of pages, your domain, and the API key, to reserve credits. Credits are charged or returned when the scan ends.
- During a scan: status events tied to the scan ID, so the scan can be billed and supported. They contain the names of caching or optimization plugins detected on your site, whether each was paused for the scan, and hashed (unreadable) page paths.
- If someone requests your site with an invalid scan token: one security event with a hashed IP address, user agent, and path, sent at most once every 10 minutes.
Scanning worker (https://scanner.wpservice.pro, with https://cu-scanner-railway-production.up.railway.app as its fallback address) renders your pages. The plugin tries the first address and uses the second only when the first cannot be reached at all.
- When you start a scan: the page URLs, your API key, a one-time scan token, the scanner secret the plugin generates for CDN rules, a summary of detected caching or optimization plugins, and the plugin version. If you entered an HTTP Basic Auth login for a staging site in Settings, that login is sent too, so the worker can open protected pages.
- The worker then loads those pages from your site in a headless browser, the same way a visitor would.
Checks from your server before a scan. When you start a scan, the plugin itself sends requests from your WordPress server: to detect caching, CDN and firewall setups on other sites you scan, and to check that each site’s firewall lets the scanner in. These requests go only to the sites you chose to scan: the pages you selected and, at most, each site’s root address. The caching check follows up to three redirects from those pages, which can lead to another address, and sends no credentials. The requests identify themselves with a user agent containing “CU-Scanner”, except one comparison request per site with an ordinary browser user agent, sent only when that site has already refused the named ones. For your own site only, the firewall check carries your Scanner Secret header, and your staging login if you set one. Nothing is sent to WPservice.pro by these checks.
The Buy credits button opens wpservice.pro with your free key and domain in the address, so the purchase is linked to your site.
Service terms: https://wpservice.pro/terms-and-conditions/
Privacy policy:https://wpservice.pro/privacy-policy/
Written by Joobi from the project's own listing. See the source page
1.9.12
- Added: a page that redirects the scanner to another page or site reads “Not scanned: redirected to …” in the results, and the banner says no rules were made and no credit was used; during the scan its live row reads “Not scanned: redirected”.
- Changed: partial rows that still delivered rules and used a credit are light green instead of yellow.
- Changed: long status text in the results table wraps instead of widening the column.
1.9.11
- Added: before a scan starts, the plugin checks whether the site’s firewall blocks the scanner by name; if so the scan does not start and a dialog explains what to allow.
- Added: if your own site refuses the test for reasons not specific to the scanner, a notice points to the firewall and CDN steps in Settings; the scan still runs.
- Changed: the “Checking…” and “Detecting target stack…” status lines stay pinned at the bottom of the screen while they run.
1.9.10
- Fixed: scans work again on hosts that block the scanner’s address. Some hosting providers block the shared network addresses the scanner runs on. The plugin now reaches the scanner through scanner.wpservice.pro first and falls back to the previous address only when the first cannot be reached at all. Nothing to configure.
1.9.9
- Fixed: during a scan, the “Optimizer bypass” row said “Applied” as soon as the scanner added its bypass parameters, even on sites that remove them. It now says “Requested” until a finished page confirms the bypass, and “Lost — optimizer stayed on” when a finished page lost it. The results page then explains what to allow.
- Fixed: a scan queued locally while the backend is unreachable can now be cancelled. Cancel discards it, releases its credit reservation and stops the automatic retries.
- Changed: in the admin header, “Verified by Dr. Speed Lab” now sits at the top right, with “Powered by WPservice.pro” below it.
1.9.8
- New: a warning on the results page when a site removes the scanner’s URL parameters. A redirect that strips them can leave the page measured with the optimizer still running, and the results used to say the opposite. The results row and one panel now say so, with the exact parameters to allow.
- New: on your own site, the scanner’s parameters now pass through Yoast SEO’s URL cleanup automatically, on scan requests only. Normal visitors and your Yoast settings are not affected.
- New: a “Verified by Dr. Speed Lab” badge in the admin header.
- New: on a new install with no key, the Settings page dims around “Validate your key”, so the first step is obvious. It goes away once a key is in place.
- Changed: deleting the plugin now keeps a paid API key, so a reinstall works straight away. Before, a reinstall lost the key, and Validate could only offer a free one. A free key is still removed, and Validate brings it back.
1.9.7
- Fixed pages that failed inside the scanner (for example a page that hit the scanner’s time limit) being reported as “blocked” by your host with a server error. They now get their own message saying what happened, and nothing on the screen blames your site for them.
- Fixed “The rules from the unblocked device are complete” appearing when both devices were blocked. It now appears only when one device really got through, and says whether its rules are ready to Push/Sync or to download.
- When one device is blocked and the other is fine, the results row is now a yellow “partial” row that leads with the device that worked, and counts as a successful page.
- When the scanner service identifies your hosting company’s bot protection (SiteGround), the message now names it and suggests pausing that protection during the scan.
- The message shown after a scan can now be translated.
1.9.6
- Fixed a scan that failed with “Error: undefined” on sites running an optimizer the plugin cannot bypass automatically (for example SiteGround Optimizer, or an optimizer with minification on): the confirmation dialog now opens as intended, and until you confirm no scan is started and no credit is used. Before this fix the scan still ran in the background and used a credit while the screen showed the error.
1.9.5
- New Ratings & Reviews and Having issues? boxes at the bottom of the scanner sidebar, linking to the plugin’s WordPress.org reviews and support forum.
- The “Found a bug? Get in touch” links to wpservice.pro are gone; support is handled on WordPress.org.
- “Dr. Speed” in the header is no longer bold.
1.9.4
- Fixed a fatal error on WordPress versions before 7.0 when the scanner loaded a page with its scan token.
- Every setting, option, and hook now uses the plugin’s own
drspeed_aias_prefix. Your API key, settings, and scan history move to the new names automatically on the first page load after updating. - Fixed PHP warnings on the history page and in the menu badge for incomplete history records.
- New Dr. Speed header on every screen: “Dr. Speed | AI Assets Scanner” with the tagline “Safely debloat your pages with one push of a button.”
- Every screen now fits any window width without a sideways scrollbar. On narrow screens, the scan results and the scan history show each URL or scan as a labelled card, and buttons wrap their labels instead of cutting them off.
Earlier release history:
https://github.com/2slowDD/WP-AI-Assets-Scanner/blob/main/CHANGELOG.md
Follow this listing's changes (Atom feed)