Overview
Features
Get
Fetch a value for a given key from the cache; optional cacheName; returns Hit, Miss, or Error.
Set
Store a value in the cache with an optional TTL; replaces existing value regardless of type; optional cacheName.
List Caches
List the names of all caches in the Momento account; returns a comma-separated list or Error.
Create Cache
Create a new cache by name; returns Success or Error.
Delete Cache
Delete a cache by name; returns Success or Error.
Configurable Environment Setup
Configure API key, cache name, and default TTL via environment variables (MOMENTO_API_KEY, MOMENTO_CACHE_NAME, DEFAULT_TTL_SECONDS) with defaults.




