- 03 Nov 2020
- 1 Minute to read
- Print
- DarkLight
Cache Definitions
- Updated on 03 Nov 2020
- 1 Minute to read
- Print
- DarkLight
Overview
Cache Steps is the primary way in which Customers will use Caches in Decisions. The primary function of the Cache is to store data temporarily for quicker access in the future. The most common scenario where Cache is recommended is storing data results from external systems that don’t change the data frequently (e.g. Data received via REST API Calls or from an External Database etc). Another Scenario where Cache steps are recommended is when fetching data from Flow A to use in Flow B.
Cached data is stored in the App Server Memory and only meant to be temporary. To create a new Cache Definition navigate to System > Administration > Cache.
In the bottom action panel selected ADD. This menu allows you to add different Cache Definitions each having different purposes.
Below is a definition table to help provide information on the different definitions.
Primary Cache Types
These define the actual storage of the Cache.
Cache Definition | Summary |
---|---|
Database | Stored in Database Table |
File | Stored in a File |
File Directory | Stored in File Directory |
Memory | Stored in Memory (RAM) |
NoCache | Cache Data is not stored anywhere. Its ignored. This is an advanced Cache that is used to exclude certain entities from Cache. |
Weak | Keeps object in cache unless the object is disposed |
Secondary Cache Types
These Caches define Policies on the basis of which the Cache object should be stored in one of the Primary Caches.
Cache Definition | Summary |
---|---|
Alias | This points to a different cache |
PersistentMemory | Stores in memory and then stores in DB |
Size | Cache based on size |
Time | Time setting is for maintenance and policy used in this definition is how long data is stored |