Then the documentation is very misleading.
From Actions Triggers: post-login - API Object
api.cache
Store and retrieve data that persists across executions.
It gets extra confusing when it says in Actions Limitations that
- Cached items persist for a maximum of 24 hours.
and default ttl is 15 minutes.
That seems very long for single login flows, and makes this extra confusing.