R
W3 Total Cache Content

Remove Unused CSS/JS

Remove Unused CSS/JS

What it does

Remove Unused CSS/JS It is one of the abilities the W3 Total Cache plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

w3-total-cache.remove-unused-css-js
{
  "ability": "w3-total-cache.remove-unused-css-js",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More W3 Total Cache abilities

All W3 Total Cache abilities β†’
S
Secure Socket Layer (SSL/TLS) support
W3 Total Cache
Secure Socket Layer (SSL/TLS) support
M
Minify CSS, Minify JavaScript and Minify HTML with granular
W3 Total Cache
Minify CSS, Minify JavaScript and Minify HTML with granular control
I
Import post attachments directly into the Media Library
W3 Total Cache
Import post attachments directly into the Media Library (and CDN)
P
Preload Requests: Boost page performance by preloading
W3 Total Cache
Preload Requests: Boost page performance by preloading critical resources before they're requested.
R
Remove CSS/JS: Clean up unnecessary CSS and JavaScript
W3 Total Cache
Remove CSS/JS: Clean up unnecessary CSS and JavaScript files that slow down your pages.