Caches

Learn how to create a cache connection, either Memcached or Redis.

Caches are used to store data returned from a Data Source to improve API call performance. Currently, Xapix supports two types of cache connections:

After creating a cache connection, you can share this resource within an organization.

View this short video for a brief overview of creating cache connections.

Creating cached connections

Creating a Redis connection

To create a Redis connection, follow these steps.

Steps
Steps
  1. In a project, select Home > Cache Connections > New Cache Connection.

  2. Select Redis.

  3. In the Create new Redis connection form, enter the following:

    1. Name: Give the connection a descriptive name.

    2. URI: Enter the URI that points to an existing Redis system.

  4. Click Create.

  5. A list of existing Cache Connections will appear.

  6. Dismiss the confirmation dialog.

Example
Example

Create a new Redis cache connection
New Redis cache connection

Creating a Memcached connection

To create a Memchached connection, follow these steps.

Steps
Steps
  1. In a project, select Home > Cache Connections > New Cache Connection.

  2. Select Memcached.

  3. In the Create new memcahced connection form, enter the following:

    1. Name: Give the connection a descriptive name.

    2. Hostnames: Enter the hostname and port number of an existing memcached system.

  4. Click Create Cache Connection.

  5. A list of existing Cache Connections will appear.

  6. Dismiss the confirmation dialog.

When adding multiple hostnames, insert commas between each entry.

Example
Example
Create a new memcached connection
New memcached connection