> 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/mobile-device-cache.md). Agents can also search and read this documentation through its [MCP server](https://clients.medianova.com/~gitbook/mcp).

# Mobile Device Cache

Configure device-based caching to maintain separate cached content variants for mobile, tablet, and desktop clients.

**Mobile Device Cache** separates cached responses according to the detected device type. When enabled, Medianova CDN also forwards device information to the origin server through the `X-DEVICE` and `X-MOBILE` request headers.

You can configure Mobile Device Cache through the [Medianova Control Panel](https://cloud.medianova.com).

## Configuration Steps

{% stepper %}
{% step %}

### Open Mobile Device Cache

Open your CDN Resource in the Medianova Control Panel and select **Caching**.

Locate **Mobile Device Cache**.
{% endstep %}

{% step %}

### Enable Mobile Device Cache

Enable the **Mobile Device Cache** toggle.

When enabled, the CDN separates cached responses by detected device type and forwards device information to the origin.
{% 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 %}

## How Mobile Device Cache Works

### Device-Based Cache Separation

When Mobile Device Cache is enabled, the CDN distinguishes cached responses according to the detected device type.

This allows mobile, tablet, and desktop clients to receive separate cached content variants rather than sharing a single cached response.

For example, if an origin returns different page layouts for mobile and desktop clients, the CDN can maintain separate cached versions for those device types.

### Origin Request Headers

The CDN forwards detected device information to the origin through the following HTTP request headers:

<table><thead><tr><th width="295.5">Header</th><th>Description</th></tr></thead><tbody><tr><td><code>X-DEVICE</code></td><td>Provides the detected device type to the origin server.</td></tr><tr><td><code>X-MOBILE</code></td><td>Provides mobile-device information to the origin server.</td></tr></tbody></table>

The origin can use these headers to generate device-specific responses.

## Important Notes

* Enable Mobile Device Cache when the origin returns different content based on the requesting device type.
* Device-based cache separation helps prevent mobile, tablet, and desktop content variants from sharing the same cached object.
* The origin must generate the appropriate device-specific content. Enabling Mobile Device Cache does not automatically transform or optimize responses for different devices.
* Mobile Device Cache does not replace standard cache expiration settings. To configure cache duration, see Edge Cache Expiration.


---

# 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/mobile-device-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.
