Mobile Device Cache

Define device-based caching behavior to create separate cached versions for mobile, tablet, and desktop clients.

Mobile Device Cache allows the CDN to generate different cache entries based on the detected device type. This ensures that each device category receives appropriately formatted content without cache conflicts.

The feature also forwards device information to your origin using the X-DEVICE and X-MOBILE headers.

You can manage Mobile Device Cache in the Medianova Control Panel

Log in to the Medianova Control Panel, select a CDN resource in the CDN section, and navigate to the Caching tab.

Enable Mobile Device Cache

1

Enable the Setting

Switch Mobile Device Cache to On to create separate cached versions for mobile, tablet, and desktop.

2

Submit the Configuration

Click Submit to apply the updated caching behavior.

Behaviour

Mobile Device Cache changes how cache keys are generated and what information is forwarded to the origin.

Device Classification

The CDN classifies each request using the User-Agent header:

  • mobile

  • tablet

  • desktop

Cache Key Variation

A unique cache entry is created per device type, for example:

Forwarded Headers

Header
Description
Example

X-DEVICE

Device category detected by the CDN

mobile / tablet / desktop

X-MOBILE

Whether the device is mobile

true / false

These headers allow your origin to serve tailored content if needed.

  • Device detection is based on User-Agent parsing and may not be accurate for all custom or rare device signatures.

  • The feature does not provide per-resolution caching (e.g., based on screen width).

  • Use this feature only if your mobile/tablet/desktop content differs meaningfully.

FAQ

Does Mobile Device Cache change how requests are routed to the origin?

No. This feature affects only cache segmentation and forwards device headers. Origin routing remains unchanged.

What happens if the CDN cannot identify the device type from the User-Agent?

The request is classified as desktop by default, and the cache key is generated accordingly.

Will enabling this feature create separate cached versions for each device type?

Yes. Mobile, tablet, and desktop clients each receive their own cached version, preventing cross-device content mismatches.

Last updated

Was this helpful?