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

Start free trial

Get Purge Settings

litespeed/get-purge-settings reads the automatic purge rules: which events purge what, whether stale content is served while a page rebuilds, and the scheduled daily purge.

These rules, not the TTLs, are what actually keeps a WordPress site fresh.

At a glance

Abilitylitespeed/get-purge-settings
ToolsetLiteSpeed Cache — toolset/litespeed
GroupLiteSpeed Cache › Purging
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

Publishing a post should purge the post, the front page, the archives it appears on and the feed. Which of those actually happens is configurable, and a site with the rules narrowed — often during a performance exercise years earlier — has edits that appear on the post and not on the front page.

That symptom is baffling from the front end and obvious here.

The serve-stale setting is the other thing worth reading. With it on, a visitor arriving while a page rebuilds gets the old version immediately rather than waiting; with it off they wait. On a slow page under load that difference is large.

The scheduled daily purge is configured separately and reported here so the whole purge picture is in one place.

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:

Why do post edits not show on the front page?

It resolves to one call:

{
  "ability": "litespeed/get-purge-settings",
  "parameters": {}
}

Worth knowing

  • Purge rules matter more than TTLs for freshness on a WordPress site.
  • Narrowed rules are a common cause of “the edit shows here but not there”.
  • Serve-stale trades a slightly old page for a much faster one under load.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading