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

Start free trial

Test Object Cache Connection

litespeed/test-object-cache-connection opens a connection to the configured object-cache backend and reports whether it succeeded.

Read-only, and the right call immediately after changing any backend setting.

At a glance

Abilitylitespeed/test-object-cache-connection
ToolsetLiteSpeed Cache — toolset/litespeed
GroupLiteSpeed Cache › Object & Browser Cache
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

When LiteSpeed cannot reach the object-cache backend it does not warn, log prominently or disable the feature. It falls back to the database and carries on.

From the outside that is indistinguishable from working, except that the site is slower than it should be — which is exactly the symptom people attribute to everything except the cache that is meant to be fixing it.

A wrong port, a firewall rule, a backend that was restarted onto a different host, credentials that expired: all of them produce the same silence. This call breaks it.

Run it after every change to the host, port, credentials or backend type. Run it also when a site has become mysteriously slower and nothing in the code changed — an object cache that quietly stopped answering is a common cause.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
connectedbooleanWhether the connection succeeded.
backendstringWhich backend was tried.
errorstringThe failure reason, when it failed.
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:

Can we actually reach the Redis server?

It resolves to one call:

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

Worth knowing

  • LiteSpeed falls back to the database silently. This is the only positive confirmation.
  • Run it after every backend settings change.
  • A site that got slower for no reason is worth testing here.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading