-
Notifications
You must be signed in to change notification settings - Fork 0
mod_cache
Category: Data & Messaging | Version: v1.0.0 | Source: modules/mod_cache/mod_cache.c
In-memory key-value cache with TTL expiry. Thread-safe hash table. Emits events on changes.
| Path | Method | Description |
|---|---|---|
/cache/<key> |
GET | Get cached value |
/cache/<key> |
SET | Set value (optional TTL in header) |
/cache/<key> |
DELETE | Delete cached entry |
/cache/keys |
GET | List all keys |
/cache/flush |
ACTION | Clear entire cache |
-
/events/cache/set— key was set -
/events/cache/del— key was deleted -
/events/cache/expired— key expired by TTL -
/events/cache/flush— cache was flushed
portal:/> cache set mykey myvalue
portal:/> cache set session:abc token123 ttl=3600
portal:/> cache get mykey
portal:/> cache keys
portal:/> cache del mykey
portal:/> cache flush
Top Level System — GPL-2.0 | Website | Repository
mod_cli · mod_web · mod_node · mod_ssh · mod_config_sqlite · mod_config_psql
mod_cache · mod_kv · mod_shm · mod_queue · mod_websocket · mod_mqtt · mod_email · mod_file
mod_logic · mod_logic_lua · mod_logic_python · mod_logic_c · mod_logic_pascal
mod_metrics · mod_health · mod_sysinfo · mod_process · mod_log · mod_audit · mod_cron · mod_scheduler · mod_worker · mod_backup
mod_proxy · mod_dns · mod_http_client · mod_webhook · mod_api_gateway · mod_tunnel · mod_acme
mod_firewall · mod_crypto · mod_ldap · mod_validator
mod_iot · mod_gpio · mod_serial
mod_xz · mod_gzip · mod_template · mod_admin