Push To Cache Action Advanced Customizations
- Conditional Push: Data can be added to the cache based on specific user roles or screen states.
- Expiration Dynamics: The expiration time can be determined based on user login or action result.
- Data Format Control: Data can be stored as JSON, String, or Number types, and type validation can be performed when retrieved.
Technical Risks
- Repeated Key Usage: If multiple data items are pushed with the same key, the previous value will be overwritten. Important data may be lost.
- Connection String Errors: If the Redis, Mongo, or SQL connection string is entered incorrectly, the action will fail.
- Memory Exhaustion: If large data sets are pushed to InMemory or Redis, application performance may decrease or the system may crash.
- Expiration Time Errors: Data may be deleted early or kept unnecessarily for a long time due to incorrectly set expiration times.
- Type Mismatch: If the data type of the cache item does not match the data type used in downstream actions, unexpected errors may occur.
- Beta Risks: Some Redis behaviors may differ in preview and test environments.