pluginautoptimize

Autoptimize Abilities

Caching integration. Page cache and its purge controls.

2Total Abilities
1Destructive
1Capability Gates
Functional Domains:
Caching
WordPress capabilities required:
manage_options 2

Available Tools (2)

ao_purge_allDestructive

Delete all of Autoptimize's cached aggregated CSS/JS files via the plugin's own autoptimizeCache::clearall(), which also fires its purge hooks. Use after theme or plugin asset changes leave combined files stale.

Ability IDmore-mcp/ao-purge-allRequiresmanage_options
Parameter Schema0 parameters
{
  "type": "object",
  "properties": {}
}
ao_get_cache_statsmanage_options

Read Autoptimize's own cache statistics: file count, total size in bytes, and when its statistics scan last ran. Figures come from the plugin's autoptimizeCache::stats() (cached in its autoptimize_stats transient for up to an hour), not from a fresh directory walk. Read-only.

Ability IDmore-mcp/ao-get-cache-statsRequiresmanage_options
Parameter Schema0 parameters
{
  "type": "object",
  "properties": {}
}