github cipi-sh/cipi 5.20.1
Version 5.20.1

latest release: 5.21.0
one hour ago

[5.20.1] — 2026-11-29

An app reads how its own page cache is set up. An app's user could empty its cache and purge its pages, but only root could see how that cache is configured — so the WordPress plugin could not tell its admin whether the pages are on disk or in memory, how long they are kept, which paths stay out.

Added

  • sudo /usr/local/bin/cipi-cache-clear <app> --status (#566) — as the app's own user (or root): the app's own part of cipi cache <app> --json, as JSON on one line. enabled, active, ttl, ttl_seconds, size, storage, in_memory, clear_on_deploy, exclude, exclude_max, files, bytes, suspended, supported, kind — and cipi, the version of Cipi.
    • It reads and nothing else: no page deleted, no setting written, nothing logged. It answers with the cache off too, for a Node app (supported: false) and for a suspended one.
    • Nothing of the server or of the other apps: not the RAM, not what the other caches take, not a path. What cipi cache <app> --json adds to these fields stays root's.
    • Alone: --status next to a page is refused (exit 2) before anything is purged. What merely looks like it (--status=json, status) is a page, as before, and refused as not one of the app.
    • No rule of its own in sudoers: the one for some pages (cipi-cache-clear <app> *) allows it already. The app's own user or root only, and nothing taken from the caller's environment, as for a purge. No migration: cipi self-update installs the helper.
    • A Cipi from before answers not a page of '<app>': --status (exit 2) — or, with the cache off, that there is nothing to empty: how a plugin tells that the server needs cipi self-update.
  • cipi help cache names it. Cipi Cache, the WordPress plugin, shows what it answers under Tools → Cipi Cache.

Don't miss a new cipi release

NewReleases is sending notifications on new releases.