> For the complete documentation index, see [llms.txt](https://help.citrusad.com/retail-media-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.citrusad.com/retail-media-interface/integration/cs/data-api/api-overview/http-persistence-ad-caching-endpoints-1.md).

# Trvalost HTTP a koncové body

## HTTP persistenci

Epsilon Retail Media vyžaduje persistentní HTTP připojení. Bez něj budou požadavky na generování reklam trvat déle a doba odezvy bude pomalejší, než je požadováno. Požadavky na generování reklam by měly být prováděny přes persistentní připojení a nemělo by se generovat nové připojení při každém novém požadavku na generování reklamy, aby bylo zajištěno, že budete moci přijímat Epsilon Retail Mediaslužby v požadované rychlosti.

Každý vygenerovaný TLS handshake má své náklady a čím více TLS handshake spojení je navázáno, tím nákladnější je přenos dat z Epsilon Retail Media na váš e-commerce web. Udržování persistentního HTTP připojení zabraňuje přetížení a zlepšuje dobu odezvy HTTP.

{% hint style="info" %}
Další informace o persistentních HTTP připojeních naleznete v následujících zdrojích:

<https://en.wikipedia.org/wiki/HTTP_persistent_connection>

<https://tools.ietf.org/html/rfc7230#section-6.4>
{% endhint %}

## URL koncového bodu

Koncový bod propojující váš e-commerce server a váš e-commerce web můžete pojmenovat libovolně. ***Nicméně*** jakožto řešení pro rodilou reklamu Epsilon Retail Media doporučuje vyhnout se jakékoli struktuře pojmenování koncového bodu, která obsahuje „ads“.

{% hint style="info" %}
Pokud váš koncový bod obsahuje „ads“, je mnohem náchylnější k blokování reklam, což snižuje vaše příležitosti k příjmům.
{% 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://help.citrusad.com/retail-media-interface/integration/cs/data-api/api-overview/http-persistence-ad-caching-endpoints-1.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.
