Right now, the proxy only supports persistent storage. It would be incredibly useful to use this as an ephemeral cache too. We should allow passing an optional x-ttl header in POST requests. The API route can parse this and map it to Redis's EX argument to automatically expire keys. This instantly turns the proxy into a viable solution for session management, rate-limiting, or caching expensive API responses.
Right now, the proxy only supports persistent storage. It would be incredibly useful to use this as an ephemeral cache too. We should allow passing an optional x-ttl header in POST requests. The API route can parse this and map it to Redis's EX argument to automatically expire keys. This instantly turns the proxy into a viable solution for session management, rate-limiting, or caching expensive API responses.