Local Cache
Read Cache
This caching mechanism minimizes the need for repeated data fetching from remote servers, thereby decreasing network latency and bandwidth usage. Additionally, it provides a seamless experience for users by maintaining quick access to essential information, even during network disruptions.
Parameters
- Index: Define a unique destination index.
- Key: Define a unique destination key.
Returns
The Agent Output will return the value(s) stored in the defined index and key.
Write Cache
Users are able to write a key to local cache. Keys are stored for 30 days if they remain untouched, or are manually deleted. This ensures that frequently accessed data is readily available, significantly reducing retrieval times and improving overall system performance.
Parameters
- Index: Define a unique destination index.
- Key: Define a unique destination key.
- Value: Pass a single string, an array, or values separated by comma or newline.
Returns
No return in the Agent Output.
The inspector icon will display Wrote to index/key
.
Delete Cache Key
The ability to manually delete keys also offers flexibility, allowing users to manage storage space effectively and ensure that only relevant data is retained.
Parameters
- Index: Define a unique destination index.
- Key: Define a unique destination key.
Returns
No return in the Agent Output.
The inspector icon will display Deleted: index/key
.
Delete Cache Index
Parameters
- Index: Define a unique destination index.
Returns
No return in the Agent Output.
The inspector icon will display Deleted: index
.
Search Cache
Parameters
- Index: Define a unique destination index.
- Value: Pass a single string, an array, or values separated by comma or newline.
Returns
No return in the Agent Output.
Phonetic Search Cache
Search to a phonetic cache can be useful for implementing type-ahead in the searchbar.
Parameters
- Index: Define a unique destination index.
- Value: Pass a single string, an array, or values separated by comma or newline.
Returns
No return in Agent Output.
Write Phonetic Cache
Parameters
- Index: Define a unique destination index.
- Value: Pass a single string, an array, or values separated by comma or newline.
Returns
No return in Agent Output.
The inspector icon will display Wrote to "specifiedIndex"
.