Repository navigation
Version 5.20.1
[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 ofcipi 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— andcipi, 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> --jsonadds to these fields stays root's. - Alone:
--statusnext 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-updateinstalls 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 needscipi self-update.
- It reads and nothing else: no page deleted, no setting written, nothing logged. It answers with the cache off too, for a Node app (
cipi help cachenames it. Cipi Cache, the WordPress plugin, shows what it answers under Tools → Cipi Cache.