> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revolte.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cache

> Configure repository preferences and environment settings for a managed Redis cache.

This guide explains how to configure a **Cache** resource in Revolte. Managed Redis caches are modular building blocks used for high-speed data retrieval and session management.

## Combined deployments

If your application requires compute (API) alongside a cache, you should select one of the following presets during the **Choose a Preset** step:

* **Webservice + Cache**
* **Webservice + Database + Cache**
* **Webservice + StorageBucket + Cache**
* **Webservice + Database + StorageBucket + Cache**

> **Note:** For all combined presets, the core configuration workflow is identical to a standard [Web Service](/guides/deployments/web-services). This guide focuses specifically on the supplemental **Cache** settings described below.

<Steps>
  <Step title="Choose a Preset">
    Select the **Cache** tile for a standalone instance, or choose one of the combined presets listed above for integrated deployments.
  </Step>

  <Step title="Cache — Environment Settings">
    <img src="https://mintcdn.com/poddle-54594c3d/q0Rk3K5lGk3vHIWm/image-v2/guides/web-service/cache.png?fit=max&auto=format&n=q0Rk3K5lGk3vHIWm&q=85&s=8be61448d4062d7a81f2b766a3074dab" alt="Cache tab — QA environment" width="754" height="334" data-path="image-v2/guides/web-service/cache.png" />

    The **QA** environment tab is selected. You can define independent resource specifications for **Preview**, **QA**, **Staging**, and **Production**.

    The center panel shows the Cache form for the active environment:

    * **Service Name** — Enter a unique identifier for this cache instance (e.g., `app_cache`).
    * **Specifications**
      * **CPU & Memory** — Choose a compute tier that matches your caching workload. Available options:
        * `2 CPU and .5 GB Memory`
        * `2 CPU and 1.37 GB Memory`
        * `2 CPU and 3.09 GB Memory`
        * `2 CPU and 6.38 GB Memory`
        * `2 CPU and 13.07 GB Memory`
        * `4 CPU and 12.93 GB Memory`
        * `4 CPU and 26.32 GB Memory`
        * `8 CPU and 26.04 GB Memory`
        * `8 CPU and 52.82 GB Memory`
        * `16 CPU and 52.26 GB Memory`
        * `16 CPU and 105.81 GB Memory`
        * `32 CPU and 103.68 GB Memory`
        * `32 CPU and 209.55 GB Memory`
        * `48 CPU and 157.12 GB Memory`
        * `48 CPU and 317.77 GB Memory`
        * `64 CPU and 209.55 GB Memory`
  </Step>
</Steps>

> **Tip:** Use a cache to store session data, frequently accessed database queries, or pre-rendered content to improve application response times.

***

**Quick Reference:**

* [Technical Cache Overview](/deployments/services/cache)
* [Cache Resource Specifications](/yaml/environment-settings/resource-specifications/cache)
