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

Start free trial

Flush The Object Cache

litespeed/flush-object-cache flushes the object cache through LiteSpeed’s own handler.

On a site running LiteSpeed, prefer this over the generic cache/flush-object-cache ability.

At a glance

Abilitylitespeed/flush-object-cache
ToolsetLiteSpeed Cache — toolset/litespeed
GroupLiteSpeed Cache › Object & Browser Cache
RequiresLiteSpeed Cache, active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

Same data, different bookkeeping

Both abilities clear the same entries. The difference is that LiteSpeed does not learn that the generic one happened: its own counters, its statistics and the hooks it fires on a flush are all bypassed.

In practice that means a site whose object cache is flushed generically shows a LiteSpeed admin screen reporting a cache state that no longer exists, and any integration listening for LiteSpeed’s flush event never fires.

Neither is catastrophic. But there is no reason to take the inconsistency when the LiteSpeed-aware call is right here.

Flushing the object cache is cheap in one sense — nothing is lost, everything is recomputed — and expensive in another, since every recomputation is a database query that was being avoided. On a busy site a flush is a load spike.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
flushedbooleanWhether the flush was issued.
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:

Flush the object cache.

It resolves to one call:

{
  "ability": "litespeed/flush-object-cache",
  "parameters": {}
}

Worth knowing

  • Prefer this over the generic flush on a LiteSpeed site.
  • Nothing is lost, but everything is recomputed — it is a load spike on a busy site.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading