cachepurge — Command Reference
Purge Nginx or OpenLiteSpeed cache globally, for a domain or for a URL.
Purge Nginx or OpenLiteSpeed cache globally, for a domain or for a URL.
Requirements
Run as root on the Eenos server. Use one cache scope and a configured supported cache backend. Quote a full URL when it contains shell-special characters.
Usage
The following example uses the operation described below; replace example identities and paths before use:
/usr/local/eenos/scripts/cachepurge --domain example.comArguments and options
| Syntax | Meaning |
|---|---|
--nginx | Purge all Nginx cache. |
--ols | Purge all OpenLiteSpeed cache. |
-d, --domain DOMAIN | Purge one domain cache. |
-u, --url URL | Purge one URL cache. |
This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.
Operational effects
Invalidates cached content. Global purges can increase origin load while caches warm again.
Verify the result
Confirm the affected application serves fresh content and inspect the purge result.
Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.
Back to Account & Server Maintenance · All command-line tools