# Static content optimization

<mark style="color:orange;">**func=proxy**</mark>

DAM offers you the option to deliver any file, including non-processable files - static content like JS or CSS files, via our Content Delivery Network.

By default, all URLs are regarded as images. To deliver a non-image file, you have to use the **func=proxy** option:

[/docs/bootstrap.css?<mark style="color:orange;">**func=proxy**</mark>](https://fdocs.filerobot.com/docs/bootstrap.css?func=proxy)

DMO can automatically use the **proxy** function for all files which don't have an image file extension. This however will require all your images to have proper file extensions. If you prefer this behaviour, you can switch it on in your Admin Console ( *Settings/ DMO -> Static content / Enable static Content acceleration*):

<figure><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FejZdAexbShAkzxt4u2mn%2Fimage.png?alt=media&#x26;token=6eaeaa3f-fe97-4322-9a37-806e7fed5d40" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that PDF documents are always converted to images (for more info, please check the [Broken link](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/broken-reference "mention") section). If you want to deliver PDF images as such, you need to use **func=proxy**: [/docs/satie2.pdf?<mark style="color:orange;">**func=proxy**</mark>](https://fdocs.filerobot.com/docs/satie2.pdf?func=proxy)
{% 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://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/static-content-optimization.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.
