Caching service for monday-code

I need to cache some field type URL responses per user in monday-code.

Some of my field types are particularly heavy lifting, so really could handle caching for a say a few minutes at least.

There’s nothing currently available in monday-code that works well for caching data between requests.

I’ve previously asked elsewhere about caching strategies for monday-code and been directed at using the Storage api as a short term fix for a lack of a caching service.

Thinking about using Storage as a “caching provider”, unfortunately I don’t think that’s an acceptable use case.

Storage can only be used if you know the exact key, so any automated cleanup of user data is not currently possible.

I can’t send customer data somewhere where it will live forever, because I have no means of cleaning it up when it is no longer needed.

One very easy solution is a TTL functionality for storage. Then the storage items can expire automatically and be removed.