Cache Definitions
  • 08 Feb 2021
  • 1 Minute to read
  • Dark
    Light

Cache Definitions

  • Dark
    Light

Article Summary

Overview

Cache Steps are the primary way a user will use caches in Decisions. The primary function of the cache is to store data temporarily for quicker access in the future. Cache storage is commonly used in scenarios where data results from an external system need to be stored in a location that the data will not be frequently edited (e.g. Data received from REST API Calls or via an External Database, etc). Another scenario where Cache Steps are recommended is when a user is fetching data from Flow A to use in Flow B.

Example

  1. To create a new Cache Definition navigate to System > Administration > Cache.

    Cached data is stored in the App Server Memory and only meant to be temporary.
  2. In the top action panel select ADD. The resulting drop down component allows the user to add a new CacheDefinition.

Below is a definition table to help provide information on the different Cache types.

Primary Cache Types

These Cache definitions summarize the storage location of the different Cache types.

Cache DefinitionSummary
DatabaseStored in Database Table
FileStored in a File
File DirectoryStored in File Directory
MemoryStored in Memory (RAM)
NoCacheCache data will not be stored anywhere. The data will be ignored; this is an advanced Cache that excludes certain objects.
WeakKeeps an object in the cache unless the object is disposed


Secondary Cache Types

These Cache definitions are policies by which the cache will store and empty data.

Cache DefinitionSummary
AliasStores data under a different target Configuration Name
PersistentMemoryAuto resets the memory cache based on user input
SizeStores data in the cache based on object size
TimeStores the data for a time span based on user input




Was this article helpful?