# How to Prefetch

**Prefetch** allows you to pull specific files from your origin into the CDN cache before any user requests them.\
Use this feature to eliminate cache misses, reduce origin load, and ensure fast delivery to the first users.

You can initiate Prefetch via the [Medianova Control Panel](https://cloud.medianova.com) or [Prefetch API](/api-documentation/performance-cdn/prefetch.md).

{% hint style="info" %}
Prefetch does not overwrite existing cached content.\
To update a file that is already cached, you must first **Purge** it and then **Prefetch**.
{% endhint %}

### Prefetch via [Control Panel](https://cloud.medianova.com)

{% stepper %}
{% step %}
**Enter File Path**

In the **Path** field, enter one file path per line.\
Each line must point to a specific file you want to prefetch.

**Examples:**

```
/videos/product_launch.mp4  
/assets/images/banner.jpg  
/css/style.css
```

{% hint style="info" %}
Wildcard paths (e.g. `/images/*`) are not supported.
{% endhint %}
{% endstep %}

{% step %}
**Execute the Prefetch**

Click **Prefetch Files** to initiate the operation.\
Medianova will send an HTTP GET request to your origin for each file and cache the response.

Once complete, those files will be ready for instant delivery from the CDN cache.
{% endstep %}
{% endstepper %}

Medianova’s Prefetch mechanism performs **controlled fetch operations** that proactively warm up cache layers.\
This eliminates the delay caused by a first-time cache miss and reduces origin load during peak demand.

### **Monitor Prefetch Requests**

All Prefetch operations are listed in the **Prefetch Log** table below.\
Use this view to track the status and results of your Prefetch actions.

<table data-header-hidden><thead><tr><th width="173"></th><th></th></tr></thead><tbody><tr><td><strong>Column</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>Status</strong></td><td>Indicates whether the Prefetch operation is <em>Running</em>, <em>Successful</em>, or <em>Failed</em>.</td></tr><tr><td><strong>Task ID</strong></td><td>A unique identifier assigned to each Prefetch request.</td></tr><tr><td><strong>File Path</strong></td><td>Type of Prefetch</td></tr><tr><td><strong>Created At</strong></td><td>Time when the Prefetch was initiated.</td></tr><tr><td><strong>Duration</strong></td><td>Total time the operation took to complete.</td></tr><tr><td><strong>Result</strong></td><td>Summary of the Prefetch</td></tr></tbody></table>

{% hint style="info" %}
Click the **refresh icon** to reload the Prefetch Log and check the latest results.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/prefetch/how-to-prefetch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
