Session-level caching for form metadata and languages. Form versions are immutable and languages don't change, so caching is safe and significantly improves performance.
Details
Cached items:
Form metadata: When
all_versions = TRUEinkobo_data(), multiple API calls are made to fetch form schemas for each version. Caching eliminates redundant calls within a session.Languages:
kobo_lang()results are cached per asset, speeding upkobo_lang_set()andkobo_lang_get()operations.
Cache is stored in memory and cleared when R session ends.
Note: Version lists are NOT cached as they can change when users deploy new form versions, and the API call sequence is required by the server.