Fetch From Cache Action Advanced Customizations
- Conditional Fetch: Data can be fetched based on specific user roles or screen states.
- Data Type Check: JSON, String, or Number type data is returned correctly.
- Fallback Values: If the key cannot be found, a default value can be assigned.
Technical Risks
- Invalid Key: If a key that has not been added before is selected, the action returns a “Key not found” error.
- Type Mismatch: If the output variable and the data type in the cache do not match, unexpected errors may occur.
- Cache Provider Mismatch: If a different provider is used with Push To Cache, data cannot be retrieved.
- InMemory Limits: In-memory cache data is lost when the application is closed.
- Concurrent Update: If data is added to the same key simultaneously, Fetch From Cache always returns the latest value.
- Beta Risks: Some behaviors related to Redis or other providers may differ in test and preview environments.