Description
Inserts an object into cache, persisting for the lifetime of your app or until cleared.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
key | Text | Yes | Unique object identifier |
value | Any | Yes | Object to store |
Returns
No return value.
Examples
Remarks
Use this function when you want to store information across script executions.
Definition
Cache is a programming term referring to a simple database of information. A cache is a collection of associated key-value pairs. The key must be a unique identifier and the value is any object you want to store. Once stored, you can retrieve these objects using their keys.