30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Optimisation Exclusions

litespeed/list-optimization-exclusions reads the optimisation exclusion lists: which files, URIs and roles are held back from the CSS and JS pipeline.

It is the first place to look when a script breaks after enabling combine or defer — and the first place to look when one mysteriously did not break.

At a glance

Abilitylitespeed/list-optimization-exclusions
ToolsetLiteSpeed Cache — toolset/litespeed
GroupLiteSpeed Cache › CSS, JS & HTML
RequiresLiteSpeed Cache, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

Every exclusion is a piece of history: something broke, somebody excluded it, and the reason is not recorded anywhere. Reading the list is reading the site’s accumulated incidents with the explanations removed.

That makes it useful in both directions. A script that is failing may need adding; a list that has grown to thirty entries is a sign the optimisation settings are more aggressive than this site can support, and dialling them back may be better than maintaining the exclusions.

The lists are separate by kind — skip combining, skip deferring, skip delaying, skip everything — and a script can be on one and not another. That distinction is where most of the confusion lives: a script excluded from combining is still being deferred.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
settingsarrayOne row per setting: its key, its current value, its type, and whether this suite can write it.
countintegerHow many settings the area holds.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What scripts are we already excluding from optimisation?

It resolves to one call:

{
  "ability": "litespeed/list-optimization-exclusions",
  "parameters": {}
}

Worth knowing

  • Exclusion from combining is not exclusion from deferring. The lists are separate.
  • A long list suggests the settings are too aggressive for this site.
  • Nothing records why an entry was added. Read it as history.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading