> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/static-content-optimization.md).

# 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="/files/p9hH6ueGqsVoDC6wiFwC" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that PDF documents are always converted to images (for more info, please check the [Broken mention](broken://pages/e0okNmYBJzMI9T5P5GGx) 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
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 dynamically by asking a question.

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

```
GET https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/static-content-optimization.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
