> For the complete documentation index, see [llms.txt](https://clients.medianova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/caching/shared-cache.md).

# Shared Cache

Define whether a CDN resource uses its own cache or shares a common cache structure across multiple accounts using the Domain Cache Key.

**Shared Cache** allows multiple CDN Resources or accounts to reuse identical cached content through a shared cache configuration. This can reduce duplicate cached objects and redundant requests to the origin.

You can manage Shared Cache in the [Medianova Control Panel](https://cloud.medianova.com) or via the [API](https://clients.medianova.com/api-documentation/performance-cdn/caching#put-api-v1-cdn-organization_uuid-resource-resource_uuid-5).

{% hint style="warning" %}
Resources that share a cache must use compatible cache key structures and serve identical content. Incorrect configuration can result in cache mismatches or unintended responses.
{% endhint %}

## Configure Shared Cache

{% stepper %}
{% step %}

### Open Shared Cache

Open your CDN Resource and select **Caching**.

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FWNgDHn28cICHmj9Agbod%2Fimage.png?alt=media&amp;token=92c6e39c-5eee-4084-9eee-58d3004c8476" alt=""><figcaption></figcaption></figure>

Locate **Shared Cache**.
{% endstep %}

{% step %}

### Select the Status

Under **Status**, select one of the following options:

* **Default** — Uses an isolated cache for the resource or account.
* **Share** — Allows cached objects to be reused across participating resources.
  {% endstep %}

{% step %}

### Select the Shared Cache Domain

When **Share** is selected, the **Shared Cache Domain** field becomes available.

Select the domain whose cache structure the CDN Resource should share.
{% endstep %}

{% step %}

### Save the Configuration

Select **Save** in the pending changes bar.

Review the pending changes and confirm the update to apply the configuration to the CDN Resource.
{% endstep %}
{% endstepper %}

## Shared Cache Behavior

When **Share** is configured, participating CDN Resources can reuse cached objects instead of maintaining separate copies of identical content.

When **Default** is selected, the resource uses its standard isolated cache behavior.

Changing the Shared Cache configuration does not purge previously cached content. Existing cached objects remain available until their cache duration expires.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/caching/shared-cache.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
