# CDN hosted files

If you wish to provide additional hosting for your files to provide users a better experience (for example hosting your multi-media attachment on a CDN to provide faster loading times, in addition to hosting it on a permanent service), you can use the `cdn` boolean flag within the objects inside the `properties.files` array.

```javascript
"properties": {
    "files": [
        ...
        {
          "uri": "https://watch.videodelivery.net/52a52c4a261c88f19d267931426c9be6",
          "type": "unknown",
          "cdn": true
        },
        ...
    ]
}
```

If such a flag exists, that file is the primary option for selecting the multimedia attachment (video, audio, or 3D) displayed to owners.

If that file is no longer available, Solflare defaults to using the URL in the `animation_url` field.


---

# 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://docs.solflare.com/solflare/technical/our-nft-standard/cdn-hosted-files.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.
